feat: 添加目标管理CRUD API和关联蓝图
This commit is contained in:
@@ -34,9 +34,11 @@ def create_app():
|
||||
# 注册蓝图
|
||||
from app.routes import main_bp
|
||||
from app.routes.templates import templates_bp
|
||||
from app.routes.goals import goals_bp
|
||||
|
||||
app.register_blueprint(main_bp)
|
||||
app.register_blueprint(templates_bp)
|
||||
app.register_blueprint(goals_bp)
|
||||
|
||||
# 创建数据库和目录
|
||||
with app.app_context():
|
||||
|
||||
Reference in New Issue
Block a user