正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -35,7 +35,7 @@ class MidJourneyService | @@ -35,7 +35,7 @@ class MidJourneyService | ||
| 35 | try { | 35 | try { |
| 36 | $data = ['prompt' => $content]; | 36 | $data = ['prompt' => $content]; |
| 37 | //回调地址 | 37 | //回调地址 |
| 38 | - $data['callback_url'] = route('api.notify_imagine'); | 38 | + $data['callback_url'] = route('api.ImageCallBack'); |
| 39 | $result = Http::withHeaders($this->header)->withoutVerifying()->post($this->url.'/v1/api/trigger/imagine', $data); | 39 | $result = Http::withHeaders($this->header)->withoutVerifying()->post($this->url.'/v1/api/trigger/imagine', $data); |
| 40 | $json = $result->json(); | 40 | $json = $result->json(); |
| 41 | }catch (\Throwable $e){ | 41 | }catch (\Throwable $e){ |
-
请 注册 或 登录 后发表评论