flask-libroro/apis/__init__.py

9 lines
354 B
Python
Raw Permalink Normal View History

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