港口场景筛选
This commit is contained in:
@@ -58,6 +58,14 @@ class SysPortService
|
||||
$config['orWhere'][] = [$col, 'like', $k];
|
||||
}
|
||||
}
|
||||
// 场景
|
||||
if (isset($p['scene']) && $p['scene']) {
|
||||
if($p['country_id'] == 'domestic'){
|
||||
$config['where']['country_id'] = 45;
|
||||
}else{
|
||||
$config['where']['country_id'] = ['<>', 45];
|
||||
}
|
||||
}
|
||||
//$config['where']['status'] = 1;
|
||||
break;
|
||||
case 'show':
|
||||
|
||||
Reference in New Issue
Block a user