lh 5 일 전
부모
커밋
a641a564f6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/Services/DeepSeek/DeepSeekService.php

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

@@ -224,13 +224,14 @@ class DeepSeekService
             // 如果音频存在并且参数都未改变则使用已生成的音频
             if (getProp($paragraph, 'paragraph_audio_url')) {
                 if (getProp($paragraph, 'role') == getProp($word, 'role') && getProp($paragraph, 'text') == getProp($word, 'text') && 
-                    getProp($paragraph, 'emotion_type') == getProp($word, 'emotion_type') && getProp($paragraph, 'voice_type') == getProp($word, 'voice_type') && 
+                    getProp($paragraph, 'voice_type') == getProp($word, 'voice_type') && 
                     getProp($paragraph, 'speed_ratio') == getProp($word, 'speed_ratio') && getProp($paragraph, 'loudness_ratio') == getProp($word, 'loudness_ratio') &&
                     getProp($paragraph, 'emotion_scale') == getProp($word, 'emotion_scale'))
                 {
                         $word['paragraph_audio_url'] = getProp($paragraph, 'paragraph_audio_url');
                 }
             }
+            dd($paragraph, $word);
 
             // 组装章节分句音频数据
             $tmp = $word;