This commit is contained in:
3 2025-05-26 17:16:59 +08:00
parent bde156be9f
commit 628726e6b1
7 changed files with 15 additions and 0 deletions

0
src/backend/.gitignore vendored Normal file
View File

View File

@ -0,0 +1 @@
# 解析中文命令逻辑

View File

@ -0,0 +1 @@
# 配置文件

View File

@ -0,0 +1 @@
# 注册api蓝图

View File

@ -0,0 +1,12 @@
from flask import Flask
from .api import api_blueprint
def create_app():
app = Flask(__name__)
app.config.from_object('config.Config')
# 注册蓝图
app.register_blueprint(api_blueprint, url_prefix='/api')
return app

0
src/backend/config.py Normal file
View File

0
src/backend/run.py Normal file
View File