test
This commit is contained in:
parent
a84947db30
commit
bc4b74f839
1 changed files with 1 additions and 2 deletions
3
main.py
3
main.py
|
@ -68,8 +68,7 @@ def list():
|
|||
|
||||
@app.route("/list/user", methods=['GET'])
|
||||
def user_info():
|
||||
id = urllib.parse.unquote_plus(request.args.get("id"))
|
||||
db_log.info(id)
|
||||
id = request.args.get("id")
|
||||
c.execute(f"SELECT * FROM users WHERE id = {id}")
|
||||
user_list = c.fetchall()
|
||||
if user_list != []:
|
||||
|
|
Loading…
Reference in a new issue