From efc60041751d916d319780b0ef61698576974c98 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 30 Mar 2026 09:11:02 +0800 Subject: [PATCH] bugfix --- wwwroot/API.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/wwwroot/API.md b/wwwroot/API.md index 645b598..867c5d7 100644 --- a/wwwroot/API.md +++ b/wwwroot/API.md @@ -283,3 +283,39 @@ row: } } +## 获得当天所有任务列表 +* path /llmage/get_my_asynctasks.dspy +* method 'GET' +* params 无 +* +* return +{ + “status": "ok", + "data": [{ + "tasks": { + "taskid", + "ioinfo", # 从这里获得最后一个返回数据,如果成功,有video的url + # 如果失败, 有错误信息可以显示 + "status": # SUCCEEDED:成功,FAILED:失败, 其他处理中 + ... + } + }] +} + +## 获得任务状态 +* path /llmage/get_asynctask_status.dspy +* method 'GET' +* params +``` +{ + 'taskid': # 任务id +} + +* return +``` +{ + "status": "ok", + "data": { + "response": # 后台返回信息,有状态,错误信息或videod url + } +}