Commit 3de974ab by haojie

1

parent 54526892
...@@ -176,9 +176,9 @@ public function stableSubmit(int $userId = 0, array $data = []) ...@@ -176,9 +176,9 @@ public function stableSubmit(int $userId = 0, array $data = [])
'task_id' => $task->id, 'task_id' => $task->id,
'type' => $task->type, 'type' => $task->type,
]; ];
Log::info(json_encode($sendData));
# 提交redis # 提交redis
Redis::rpush('stable_task', json_encode($sendData)); $status = Redis::rpush('stable_task', json_encode($sendData));
Log::info($status);
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