feat: 添加目标管理CRUD API和关联蓝图

This commit is contained in:
hmo
2026-04-23 20:18:36 +08:00
parent 285979ff70
commit ab0a8f383d
3 changed files with 117 additions and 1 deletions
+2
View File
@@ -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():