9 lines
354 B
Python
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__)
|