From 91a54d4083ff684ecc9f0cb72f00c2f343a3a0f4 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Wed, 18 Dec 2019 20:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E6=94=AF=E4=BB=98=20?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B8=81=E5=85=85=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/ShortcutController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/ShortcutController.class.php b/Application/Sdk/Controller/ShortcutController.class.php index 3d7253a2..dd6f2399 100644 --- a/Application/Sdk/Controller/ShortcutController.class.php +++ b/Application/Sdk/Controller/ShortcutController.class.php @@ -110,7 +110,7 @@ class ShortcutController extends BaseController{ $spend = M('spend', 'tab_')->where([ 'pay_order_number' => $payInfo['order_id'] ])->find(); - $orderPrice = $spend['pay_amount']; + $orderPrice = round($spend['pay_amount']+$spend['deduction_amount'], 2); } else { $deposit = M('deposit', 'tab_')->where([ 'pay_order_number' => $payInfo['order_id']