pzx-web-api/app/api/v1/exception/diet.py
BryantHe 0353bbe7b4
All checks were successful
continuous-integration/drone/push Build is passing
feat: 增加食物记录相关 api
2023-09-15 18:00:17 +08:00

6 lines
144 B
Python

from apiflask import HTTPError
class DietRecordNotFound(HTTPError):
status_code = 404
message = '找不到用户对应的食物记录'