接口修改6

This commit is contained in:
彭桃 2023-02-15 17:41:36 +08:00
parent e79538f55b
commit b32432a372

View File

@ -705,7 +705,7 @@ class Statistics extends BaseController
if ($village_id){ if ($village_id){
$where[] = ['village_id', '=', $village_id]; $where[] = ['village_id', '=', $village_id];
} }
$find=Db::connect('shop')->table('eb_merchant_address')->where($where)->limit(6)->select(); $find=Db::connect('shop')->table('eb_merchant_address')->where($where)->limit(6)->select()->toArray();
$count=Db::connect('shop')->table('eb_merchant_address')->where($where)->count(); $count=Db::connect('shop')->table('eb_merchant_address')->where($where)->count();
$select=[]; $select=[];
if ($find){ if ($find){