|
@@ -37,6 +37,8 @@ class Index extends Api
|
|
|
|
|
|
if(!empty($cityname) && $cityname != $this->auth->cityname){
|
|
if(!empty($cityname) && $cityname != $this->auth->cityname){
|
|
$where['user.cityname'] = $cityname;
|
|
$where['user.cityname'] = $cityname;
|
|
|
|
+ }else{
|
|
|
|
+ $where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
|
|
}
|
|
}
|
|
|
|
|
|
//性别
|
|
//性别
|