This commit is contained in:
xiaoyu
2025-04-29 23:14:53 +08:00
parent 5d79f8f60e
commit 1e8a7440ff
+4 -1
View File
@@ -269,7 +269,10 @@ class Store extends HD_Controller
$city_id && $where['city_id'] = $city_id;
$county_id && $where['county_id'] = $county_id;
$title && $where["biz_name like '%{$title}%'"] = null;
$total = $this->biz_model->count($where);
if($province_id||$city_id||$county_id||$title){
$total = $this->biz_model->count($where);
}
$lists = array();
if ($total) {