初始化提交
This commit is contained in:
commit
202731df74
28 changed files with 3140 additions and 0 deletions
14
routes/__init__.py
Normal file
14
routes/__init__.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"""路由注册"""
|
||||
|
||||
|
||||
def register_routes(app):
|
||||
"""将所有路由蓝图注册到 Flask 应用"""
|
||||
from routes.chat import bp as chat_bp
|
||||
from routes.responses import bp as responses_bp
|
||||
from routes.messages import bp as messages_bp
|
||||
from routes.admin import bp as admin_bp
|
||||
|
||||
app.register_blueprint(chat_bp)
|
||||
app.register_blueprint(responses_bp)
|
||||
app.register_blueprint(messages_bp)
|
||||
app.register_blueprint(admin_bp)
|
||||
Loading…
Add table
Add a link
Reference in a new issue