From 103acdd15d2e91ece05d27368961e6f02f930f3d Mon Sep 17 00:00:00 2001 From: tping Date: Mon, 23 Nov 2020 17:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=80=9A=E7=9F=A5=20?= =?UTF-8?q?=E5=B0=8F=E6=95=B0=E7=82=B9=E5=90=8E=E9=9D=A2.00?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Spend/lists.html | 7 +++++++ Application/Common/Api/GameApi.class.php | 1 + 2 files changed, 8 insertions(+) diff --git a/Application/Admin/View/Spend/lists.html b/Application/Admin/View/Spend/lists.html index 7bfdae2c8..47eec6745 100644 --- a/Application/Admin/View/Spend/lists.html +++ b/Application/Admin/View/Spend/lists.html @@ -296,6 +296,11 @@ + + 补单 @@ -304,6 +309,8 @@ 补单 + +
diff --git a/Application/Common/Api/GameApi.class.php b/Application/Common/Api/GameApi.class.php index db49090d7..93af900b8 100644 --- a/Application/Common/Api/GameApi.class.php +++ b/Application/Common/Api/GameApi.class.php @@ -46,6 +46,7 @@ class GameApi { if (isset($pay_data['deduction_amount']) && $pay_data['deduction_amount'] > 0) { $pay_data['cost'] += $pay_data['deduction_amount']; } + $pay_data['cost'] = number_format($pay_data['cost'], 2, '.', ''); $md5_sign = md5($pay_data['pay_order_number'].$pay_data['cost']."1".$pay_data['extend'].$game_data['game_key']); $data = array(