diff --git a/app/api/controller/Statistics.php b/app/api/controller/Statistics.php index 3dcbf5a..4556d3b 100644 --- a/app/api/controller/Statistics.php +++ b/app/api/controller/Statistics.php @@ -705,7 +705,7 @@ class Statistics extends BaseController if ($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(); $select=[]; if ($find){