Commit fccdf420 by haojie

1

parent 4f507222
......@@ -45,7 +45,7 @@ public function submit($user_id, array $data = [])
'prompt' => $prompt,
'prompt_img' => $prompt_img,
'user_id' => $user_id,
'prompt_num' => 1,
'prompt_num' => 2,
];
# 保存任务
$task_id = Task::query()->create($list)->id;
......@@ -53,7 +53,7 @@ public function submit($user_id, array $data = [])
# 返回任务id
return [
'task_id' => $task_id,
'prompt_num' => 1
'prompt_num' => 2
];
}
......
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