Update to v2.6.6 without release

- Fix a bug about purchase discount
- Fix a bug about database synchronization, which may make 'api_login' table empty
- For Arcaea 3.8.8
- Update a logout api
This commit is contained in:
Lost-MSth
2021-10-22 20:00:22 +08:00
parent a523ff5aae
commit b494b93c14
9 changed files with 33 additions and 13 deletions

View File

@@ -12,7 +12,8 @@ def code_get_msg(code):
'-103': 'Wrong sort parameter',
'-104': 'Wrong sort order parameter',
'-201': 'Wrong username or password',
'-202': 'User is banned'
'-202': 'User is banned',
'-999': 'Unknown error'
}
return msg[str(code)]