mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-07-04 13:19:20 +00:00
测试
This commit is contained in:
parent
bde156be9f
commit
628726e6b1
0
src/backend/.gitignore
vendored
Normal file
0
src/backend/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
# 解析中文命令逻辑
|
@ -0,0 +1 @@
|
||||
# 配置文件
|
@ -0,0 +1 @@
|
||||
# 注册api蓝图
|
@ -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
0
src/backend/config.py
Normal file
0
src/backend/run.py
Normal file
0
src/backend/run.py
Normal file
Loading…
x
Reference in New Issue
Block a user