feat: DITAnalyzer module - Feature 6.2 & 6.3 implementation
- DITAnalyzer class with data preprocessing - Feature 6.2: High value resource allocation analysis - Feature 6.3: Stagnant deal alerts - Flask API routes for CSV upload and analysis - Test suite with sample data
This commit is contained in:
10
app.py
10
app.py
@@ -15,13 +15,9 @@ def create_app(config_class=Config):
|
||||
# 初始化擴展
|
||||
db.init_app(app)
|
||||
|
||||
# 註冊 Blueprint (後續擴展)
|
||||
# from routes.auth import auth_bp
|
||||
# from routes.admin import admin_bp
|
||||
# from routes.api import api_bp
|
||||
# app.register_blueprint(auth_bp)
|
||||
# app.register_blueprint(admin_bp)
|
||||
# app.register_blueprint(api_bp)
|
||||
# 註冊 Blueprint
|
||||
from routes.api import api_bp
|
||||
app.register_blueprint(api_bp)
|
||||
|
||||
# 健康檢查端點
|
||||
@app.route('/health')
|
||||
|
||||
Reference in New Issue
Block a user