lh преди 4 дни
родител
ревизия
71629a1ab1
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2 3
      app/Services/DeepSeek/DeepSeekService.php

+ 2 - 3
app/Services/DeepSeek/DeepSeekService.php

@@ -314,9 +314,8 @@ class DeepSeekService
         // 通知火山生成音频
         $client = new Client(['timeout' => 300, 'verify' => false]);
         // 根据ID通过API通知合成音频
-        // $result = $client->get("http://47.240.171.155:5000/api/chapterTask?taskId={$audio_id}");
-        $audio_id = getProp($chapter_audio, 'id');
-        $result = $client->get("http://122.9.129.83:5000/api/chapterTask?taskId={$audio_id}");
+        // $result = $client->get("http://47.240.171.155:5000/api/chapterTask?taskId={$id}");
+        $result = $client->get("http://122.9.129.83:5000/api/chapterTask?taskId={$id}");
         $response = $result->getBody()->getContents();
         $response_arr = json_decode($response, true);
         if (!isset($response_arr['code']) || (int)$response_arr['code'] !== 0) {