|
@@ -111,6 +111,8 @@ class MobileController extends UserApi
|
|
|
$model->where('province_id',str_replace('-all','',$data['city_id']));
|
|
|
}elseif (is_numeric($data['city_id'])) {
|
|
|
$model->where('city_id', $data['city_id']);
|
|
|
+ }elseif (preg_match('/\d+-\d+/',$data['city_id'])){
|
|
|
+ $model->where('city_id',explode('-',$data['city_id']))[1];
|
|
|
}
|
|
|
}
|
|
|
if(!empty($data['sort'])){
|