llmage/wwwroot/get_my_asynctasks.dspy
2026-04-09 16:29:05 +08:00

14 lines
230 B
Plaintext

userid = await get_user()
tasks = await get_today_asynctask_list(userid)
for t in tasks:
bin = await read_webpath(t.ioinfo)
t.ioinfo = json.loads(bin.decode('utf-8'))
return {
'status': 'ok',
'data': {
'tasks': tasks
}
}