fixed 首页 地区店铺统计

This commit is contained in:
chenbo 2023-12-09 14:37:49 +08:00
parent d126b7991f
commit e4308834d5

View File

@ -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();