소스 검색

剧集存在 exception

liuzejian 2 년 전
부모
커밋
7db468db9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/Video/Http/Controllers/EpisodeController.php

+ 1 - 1
modules/Video/Http/Controllers/EpisodeController.php

@@ -81,7 +81,7 @@ class EpisodeController extends CatchController
             return collect($data)->keyBy('series_sequence')->get($item)['series_name'];
         });
         if($alreadySeries->isNotEmpty()) {
-            CommonBusinessException::throwError([-2333, $alreadySeries->join(', ') . ' 已经存在']);
+            CommonBusinessException::throwError([-2333, $alreadySeries->join(', ')]);
         }
 
         DB::table('video_series')->insert($data);