1 Star 1 Fork 1

1986791206/order

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
www.py 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
1986791206 提交于 2022-05-29 21:12 . '
from application import app
from web.controllers.index import route_index
from web.controllers.user.User import route_user
from web.controllers.static import rroute_static
from web.controllers.account.Account import route_account
from web.controllers.finance.Finance import route_finance
from web.controllers.food.Food import route_food
from web.controllers.member.Member import route_member
from web.controllers.stat.Stat import route_stat
from web.controllers.api import route_api #默认访问的就是访问的是initial文件
from web.interceptors.ErrorInterceptor import *
from web.controllers.upload.Upload import route_upload
####---------统一拦截器---------------------#####
from web.interceptors.AuthInterceptor import *
from web.interceptors.ApiAuthInterceptor import *
from web.controllers.chart import route_chart
####-------------统一拦截器------------------#####
app.register_blueprint(route_index,url_prefix="/")
app.register_blueprint(route_user,url_prefix="/user")
app.register_blueprint(rroute_static,url_prefix="/static")
app.register_blueprint(route_account,url_prefix="/account")
app.register_blueprint(route_finance,url_prefix="/finance")
app.register_blueprint(route_food,url_prefix="/food")
app.register_blueprint(route_member,url_prefix="/member")
app.register_blueprint(route_stat,url_prefix="/stat")
app.register_blueprint(route_api,url_prefix="/api")
app.register_blueprint( route_upload,url_prefix = "/upload" )
app.register_blueprint( route_chart,url_prefix = "/chart" )
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qinghuan404/order.git
git@gitee.com:qinghuan404/order.git
qinghuan404
order
order
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385