pzx-web-api/app/api/v1/__init__.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

23 lines
475 B
Python

from apiflask import APIBlueprint
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
def create_v1():
bp_v1 = APIBlueprint('v1', __name__)
bp_v1.register_blueprint(api, url_prefix='/api')
bp_v1.register_blueprint(auth, url_prefix='/auth')
bp_v1.register_blueprint(record, url_prefix='/record')
bp_v1.register_blueprint(user, url_prefix='/user')
return bp_v1