Commit 4f507222 by haojie

1

parent 4a3b6c6f
......@@ -118,7 +118,6 @@ public function gpt_callback($data = [])
*/
public function prompt_callback($data = [])
{
Log::info('接收到回调');
$credentials = Arr::only($data, ['user_id', 'task_id', 'result_img', 'prompt_id']);
# 必须字段
$prompt_id = $credentials['prompt_id'];
......@@ -133,7 +132,6 @@ public function prompt_callback($data = [])
$res = PromptTask::query()->where('id', $prompt_id)->where('user_id', $user_id)
->where('task_id', $task_id)->update(['result_img' => $result_img,]);
#
Log::info('更新成功');
$list = [
'user_id' => $user_id,
'task_id' => $task_id,
......
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