feat: 增加食物记录相关 api
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-09-15 18:00:17 +08:00
parent 721a5f1aa8
commit 0353bbe7b4
8 changed files with 129 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ from app.api.v1.api import api
from app.api.v1.auth import auth
from app.api.v1.record import record
from app.api.v1.user import user
from app.api.v1.diet import diet
def create_v1():
@@ -12,6 +13,7 @@ def create_v1():
bp_v1.register_blueprint(auth, url_prefix='/auth')
bp_v1.register_blueprint(record, url_prefix='/record')
bp_v1.register_blueprint(user, url_prefix='/user')
bp_v1.register_blueprint(diet, url_prefix='/diet')
return bp_v1