You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
421 B

from flask import Flask,render_template,request,redirect,Blueprint
from newsB import news
from yqB import yq
from front import user
from sysinfo import sysm
app = Flask(__name__)
app.secret_key='****----'
urls=[news,yq,user,sysm] #将三个路由构建数组
for url in urls:
app.register_blueprint(url) #将三个路由均实现蓝图注册到主app应用上
if __name__=='__main__':
app.run(port=3002)