更新 main.py

master
wangsiyuan 2024-01-11 17:45:58 +08:00
parent 87dc8562ab
commit 2032d20d89
1 changed files with 0 additions and 1 deletions

View File

@ -18,7 +18,6 @@ async def login(request: Request):
username = data.get("username") username = data.get("username")
password = data.get("password") password = data.get("password")
print(f"username: {username},password: {password}") print(f"username: {username},password: {password}")
# Replace with your actual validation logic
if username == "1" and password == "1": if username == "1" and password == "1":
data1 = None data1 = None
return {"code": "0", "msg": "ok", "data": data1} return {"code": "0", "msg": "ok", "data": data1}