修复部分接口bug

This commit is contained in:
wangxu 2025-11-11 11:20:50 +08:00
parent 7b0ce47870
commit 2a1b0856da
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ from werkzeug.exceptions import UnsupportedMediaType
from app.cross_evaluate_worker import * from app.cross_evaluate_worker import *
from app.phasetable_worker import phase_cross_list from app.phasetable_worker import phase_cross_list
from app.views_task import *
app = Flask(__name__) app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'}) cache = Cache(app, config={'CACHE_TYPE': 'simple'})

View File

@ -8,7 +8,7 @@ from flask import Flask, request, jsonify, redirect
from flask_cors import CORS from flask_cors import CORS
from app.models import * from app.models import *
from app.task_worker import * from app.task_worker import *
from app.cross_eva_views import app from app.cross_eva_views import *
#app = Flask(__name__) #app = Flask(__name__)
#CORS(app, resources={r"/api/*": {"origins": "*"}}) #CORS(app, resources={r"/api/*": {"origins": "*"}})