From b32432a37204c73df0d0ffde745d4702d96f9679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Wed, 15 Feb 2023 17:41:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){