Commit 8ab7c5cc by haojie

1

parent 8d73ce65
...@@ -231,6 +231,10 @@ function create_split_img_task($user_id, $data = []) ...@@ -231,6 +231,10 @@ function create_split_img_task($user_id, $data = [])
if (empty($prompt)) { if (empty($prompt)) {
throw new UserException(1, '没有这个任务'); throw new UserException(1, '没有这个任务');
} }
# 更新
$prompt->update([
'cut_id' => $cut_id,
]);
# 添加redis任务 # 添加redis任务
$list = [ $list = [
'prompt_id' => $prompt_id, 'prompt_id' => $prompt_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