From 07a982fd682a2ceea9f73a01dbf12825f36a6ce3 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Mon, 25 Dec 2023 18:05:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E9=95=87=E7=BA=A7=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E9=93=BE=20=E9=87=87=E8=B4=AD/=E9=94=80=E5=94=AE=E9=87=91?= =?UTF-8?q?=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/Statistics.php b/app/controller/api/Statistics.php index 44a8a1f1..0168f1cd 100644 --- a/app/controller/api/Statistics.php +++ b/app/controller/api/Statistics.php @@ -401,7 +401,7 @@ class Statistics extends BaseController ->where($where) ->join('store_order o', 'o.mer_id=' . $mer_id . ' and o.paid=1 and o.is_del=0') ->sum('p.total_price'); - $merName = $merchant('mer_name'); + $merName = $merchant['mer_name']; return app('json')->success(compact('merName', 'count')); } }