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

@@ -101,7 +101,7 @@ def token_get(user):
@api.api_auth.role_required(request, ['change_me', 'select_me', 'select'])
def token_delete(user):
# 登出
return return_encode()
return return_encode(api.api_auth.logout(user))
@bp.route('/users', methods=['GET'])