flask-libroro/apis/__init__.py
2025-02-20 17:50:47 +08:00

9 lines
354 B
Python

from flask import Blueprint
# 系统相关接口 例如对系统的一些设置
api_system = Blueprint('system', __name__)
# 权限相关接口 例如菜单
api_auth = Blueprint('auth', __name__)
# 用户相关接口 例如用户信息
api_user = Blueprint('user', __name__)
# 其他一些不便于分类的接口
api_other = Blueprint('other', __name__)