|
|
@@ -76,7 +76,7 @@ class SupplyDemandValidate extends BaseValidate
|
|
|
{
|
|
|
$cate_id_arr = explode(',',$data['cate_id']);
|
|
|
foreach($cate_id_arr as $v){
|
|
|
- $info = ServiceCategory::where(['id'=>$v,'type'=>$data['type']])->findOrEmpty();
|
|
|
+ $info = ServiceCategory::where(['id'=>$v])->findOrEmpty();
|
|
|
if($info->isEmpty()){
|
|
|
return '传入的分类id:'.$v.'不存在!';
|
|
|
}
|