pzx-web-api/app/api/v1/exception/user.py
BryantHe d322c9488a
All checks were successful
continuous-integration/drone/push Build is passing
feat: add apis of user info
2023-08-15 17:49:05 +08:00

11 lines
227 B
Python

from apiflask import HTTPError
class UserInfoNotFound(HTTPError):
status_code = 404
message = '查询用户信息失败'
class UserInfoError(HTTPError):
status_code = 500
message = '设置用户信息失败'