diff --git a/app/controller/api/dataview/User.php b/app/controller/api/dataview/User.php index aef30ed0..684075c4 100644 --- a/app/controller/api/dataview/User.php +++ b/app/controller/api/dataview/User.php @@ -73,7 +73,7 @@ class User extends BaseController $merchantTotalCount = 0; // 查镇的用户统计不需要查店铺数 - if ($this->streetCode != '') { + if ($this->streetCode == '') { // 该地区下所有乡镇 $geoStreetList = Db::name('geo_street')->where('area_code',$this->areaCode)->select()->toArray();