From e79538f55b826e4c316415c419b485a2eeff595e 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:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B93?= 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 9716fb2..3dcbf5a 100644 --- a/app/api/controller/Statistics.php +++ b/app/api/controller/Statistics.php @@ -712,7 +712,7 @@ class Statistics extends BaseController foreach ($find as $k=>$v){ $arr[]=$v['mer_id']; } - $select=Db::connect('shop')->table('eb_merchant')->where('mer_id','in',$arr)->field('mer_avatar value,mer_name name')->limit(6)->select(); + $select=Db::connect('shop')->table('eb_merchant')->where('mer_id','in',$arr)->field('mer_avatar value,mer_name name')->limit(5)->select(); } $product_price=Db::connect('shop')->table('eb_product_order_log')->where($where)->sum('product_price'); $where[]=['group_id','=',14];