From 7084f15da048eba47479422883192e8ff3d15e56 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Sat, 7 Dec 2024 15:07:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=89=8D=E6=B6=88=E8=B4=B9=E8=BF=94?= =?UTF-8?q?=E8=A1=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/IndexLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/IndexLogic.php b/app/api/logic/IndexLogic.php index b42fd152..7b3efdd2 100755 --- a/app/api/logic/IndexLogic.php +++ b/app/api/logic/IndexLogic.php @@ -1094,9 +1094,9 @@ class IndexLogic extends Logic ->select() ->toArray(); } - $result = array_merge($hot_list, $order_goods); foreach ($result as &$v) { + $v['min_price'] = round(0.88*$v['min_price'],2); if (isset($v['image'])) { $v['image'] = UrlServer::getFileUrl($v['image']); }