Commit 1968519b by haojie

1

parent 79671b6d
...@@ -178,7 +178,7 @@ public function stableSubmit(int $userId = 0, array $data = []) ...@@ -178,7 +178,7 @@ public function stableSubmit(int $userId = 0, array $data = [])
'type' => $task->type, 'type' => $task->type,
]; ];
# 提交redis # 提交redis
$status = Redis::rpush('stable_task', json_encode($sendData)); Redis::rpush('stable_task', json_encode($sendData));
return [ return [
'task_id' => $task->id, 'task_id' => $task->id,
'prompt_num' => $task->prompt_num 'prompt_num' => $task->prompt_num
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment