lh 2 days ago
parent
commit
8d815a2451
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/DeepSeek/DeepSeekService.php

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

@@ -245,6 +245,7 @@ class DeepSeekService
             $tmp['sequence'] = $sequence;
             $tmp['created_at'] = date('Y-m-d H:i:s');
             $tmp['updated_at'] = date('Y-m-d H:i:s');
+            if (!getProp($tmp, 'paragraph_audio_url')) Utils::throwError('20003:段落未生成音频,请等待完成后提交');
             $mp_chapter_paragraph_audios[] = $tmp;
 
             $sequence++;