Explorar el Código

剧集存在 exception

liuzejian hace 2 años
padre
commit
7db468db9a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);