diff --git a/app/admin/service/BrandSeriesService.php b/app/admin/service/BrandSeriesService.php index 1dc7a73..495db73 100644 --- a/app/admin/service/BrandSeriesService.php +++ b/app/admin/service/BrandSeriesService.php @@ -405,7 +405,7 @@ class BrandSeriesService $series_name = $request->input('series_name'); $models = $request->input('models'); - if(empty($brand_id) && (empty($brand_name) || empty($brand_code))){ + if(empty($brand_id) && empty($brand_name)){ throw new \Exception("请选择品牌"); } if(empty($series_id) && empty($series_name)){