修改了座位等级中文问题、空订单问题

This commit is contained in:
2024-06-14 18:57:36 +08:00
parent 963a80a670
commit e435ae4035
16 changed files with 66 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ def verify_user(cursor: Cursor, phone_number: str, password: str) -> str:
record = cursor.fetchone()
if not record:
return "NO_USER"
if record[0] != password:
if record['Password'] != password:
return "WRONG_PASSWORD"
return "USER_VERIFIED"