pzx-web-api/app/api/v1/exception/auth.py
BryantHe 226e5c6891
All checks were successful
continuous-integration/drone/push Build is passing
feat: add api of body record 9
2023-08-12 20:48:40 +08:00

13 lines
204 B
Python

from apiflask import HTTPError
class AuthError(HTTPError):
status_code = 403
message = '请登录'
class WechatLoginError(HTTPError):
status_code = 500
message = '微信登录失败'