feat 更新响应模板

fix
This commit is contained in:
zhouchengrong
2024-06-17 13:10:46 +08:00
parent 0a868d6817
commit f2bb7a11f9
4 changed files with 112 additions and 108 deletions

View File

@@ -5,6 +5,8 @@ from app.service.design.utils.redis_utils import Redis
from app.service.design.utils.synthesis_item import synthesis, synthesis_single
import concurrent.futures
from app.service.utils.decorator import RunTime
def process_item(item, layers):
# logging.info("process running.........")
@@ -38,6 +40,7 @@ def final_progress(process_id):
return progress
@RunTime
def generate(request_data):
return_response = {}
request_data = request_data.dict()