港口场景筛选

This commit is contained in:
2025-09-02 18:04:09 +08:00
parent a3d39feace
commit 152ce9a75f
7 changed files with 36 additions and 8 deletions
+10 -2
View File
@@ -21,8 +21,16 @@ class SysPortService
/**
* 获取系统list
*/
public function getList()
public function getList($params)
{
return $this->logic->getList();
$where = [];
if(isset($params['scene']) && $params['scene']) {
if($params['scene'] == 'domestic'){
$where['country_id'] = 45;
}else{
$where['country_id'] = ['<>', 45];
}
}
return $this->logic->getList($where);
}
}