[Enhance] Skill of Mithra

- Add support for the skill of Mithra
This commit is contained in:
Lost-MSth
2023-03-23 23:17:02 +08:00
parent 1672d337ff
commit f92d8a9642
14 changed files with 86 additions and 35 deletions

View File

@@ -36,6 +36,12 @@ def login():
return jsonify({"success": True, "token_type": "Bearer", 'user_id': user.user_id, 'access_token': user.token})
@bp.route('/verify', methods=['POST']) # 邮箱验证进度查询
@arc_try
def email_verify():
raise ArcError('Email verification unavailable.', 151, status=404)
def auth_required(req):
# arcaea登录验证写成了修饰器
def decorator(view):