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

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

@@ -12204,6 +12204,8 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
 
         // 积分余额预检(仅剧集ID模式收费)
         if (!empty($episode_id)) {
+            $is_generated = DB::table('mp_anime_episodes')->where('id', $episode_id)->value('is_generated');
+            if ($is_generated) Utils::throwError('20003:该分集已不支持重新生成片段,请创建副本后重试!');
             $this->pointsService->checkUserPointsEnough($this->pointsService->getChatChargePoints(), $uid);
         }