diff --git a/app/common/service/SysPortService.php b/app/common/service/SysPortService.php index a4ed6cd..530fcbf 100644 --- a/app/common/service/SysPortService.php +++ b/app/common/service/SysPortService.php @@ -28,7 +28,7 @@ class SysPortService if($params['scene'] == 'domestic'){ $where['country_id'] = 45; }else{ - $where['country_id'] = ['<>', 45]; + $where[] = ['country_id', '<>', 45]; } } return $this->logic->getList($where);