feat: 装备修改保存

This commit is contained in:
李如威 2025-09-22 11:21:57 +08:00
parent cf972e6839
commit 63b1f0f10b
1 changed files with 10 additions and 0 deletions

View File

@ -203,10 +203,20 @@ def create_app():
nodes = []
params = {}
status = {}
uuids = []
first_uuid = next((x['uuid'] for x in work_content.content if x.get("type") == "first"), "")
if not first_uuid:
work_log.status = DB.WorkLogsStatus.FAILED
await work_log.save()
app.state.tasks.pop(task_id, None)
for x in work_content.content:
node_id = x["uuid"]
node_type = x["type"]
node_info = x["detail"]
node_edge = x.get("edge")
params[node_id] = node_info
status[node_id] = "wait"
node_class_map = {