Commit 67bc2b79 authored by 刘小敏's avatar 刘小敏

3D试戴 调试12

parent 1ebb5b3c
...@@ -180,7 +180,7 @@ class AiTryon extends Common ...@@ -180,7 +180,7 @@ class AiTryon extends Common
} }
$tryonData['ai_status'] = 1; $tryonData['ai_status'] = 1;
$tryonData['ai_url'] = config('shopro.api_host') . $attachment['data']; $tryonData['ai_url'] = config('shopro.api_host') . $attachment;
$id = $tryonModel->insertGetId($tryonData); $id = $tryonModel->insertGetId($tryonData);
// 试戴次数+1 // 试戴次数+1
...@@ -191,7 +191,7 @@ class AiTryon extends Common ...@@ -191,7 +191,7 @@ class AiTryon extends Common
$aiService = new Ai(); $aiService = new Ai();
$aiService->sendNotification($user->id, $id); $aiService->sendNotification($user->id, $id);
$this->success('图片生成成功', config('shopro.api_host') . $attachment['data']??''); $this->success('图片生成成功', config('shopro.api_host') . $attachment);
} }
} }
......
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