Update to v2.7.2 without release

- Unlock the character **marija**
- Update the song database
This commit is contained in:
Lost-MSth
2021-12-26 21:29:12 +08:00
parent 8bc74b36c7
commit b927ad23f8
9 changed files with 203 additions and 119 deletions

View File

@@ -195,7 +195,7 @@ def auth_required(request):
if 'AppVersion' in headers: # 版本检查
if Config.ALLOW_APPVERSION:
if headers['AppVersion'] not in Config.ALLOW_APPVERSION:
return jsonify({"success": False, "error_code": 5})
return jsonify({"success": False, "error_code": 1203})
if 'Authorization' in headers:
token = headers['Authorization']