From be65d373b0e9df74958cf366133d8cc407fac861 Mon Sep 17 00:00:00 2001 From: karl Date: Tue, 6 Aug 2024 18:28:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E9=A1=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/admin/controller/IndexController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/service/app/admin/controller/IndexController.php b/service/app/admin/controller/IndexController.php index b73988b4..49e832e0 100644 --- a/service/app/admin/controller/IndexController.php +++ b/service/app/admin/controller/IndexController.php @@ -327,8 +327,10 @@ class IndexController extends base $list = $list->paginate($limit)->toArray(); foreach ($list['data'] as &$item) { - $item['refund_rate'] = bcmul(bcdiv((string)$item['refund'], (string)$item['all'], 4), '100', 2); - $item['asset_rate'] = bcmul(bcdiv((string)$item['asset'], (string)$item['all'], 4), '100', 2); +// $item['refund_rate'] = bcmul(bcdiv((string)$item['refund'], (string)$item['all'], 4), '100', 2); +// $item['asset_rate'] = bcmul(bcdiv((string)$item['asset'], (string)$item['all'], 4), '100', 2); + $item['refund_rate'] = ''; + $item['asset_rate'] = ''; } return $this->success($list);