From 749b3fd61a75cfdb03a3e8457da8df654a615328 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sun, 24 Sep 2023 22:48:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20app/controller/api/Auth.ph?= =?UTF-8?q?p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 --- app/controller/api/Auth.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index cd361a2f..1d2dd3db 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -286,7 +286,7 @@ class Auth extends BaseController 'uid' => $user['uid'], 'mer_id' => $merchant['mer_id'], 'order_sn' => $orderSn, - 'total_price' => $merchant['margin'], + 'total_price' => $merchant['recharge_margin'], 'pay_type' => 1, 'create_time' => date('Y-m-d H:i:s') ]); @@ -296,10 +296,10 @@ class Auth extends BaseController "mer_id" => $merchant['mer_id'], "pay_type" => 1, "attach" => "margin", - "order_info" => '{"is_margin":1,"margin":"' . $merchant['margin'] . '"}', - "pay_price" => $merchant['margin'], + "order_info" => '{"is_margin":1,"margin":"' . $merchant['recharge_margin'] . '"}', + "pay_price" => $merchant['recharge_margin'], "order_sn" => $orderSn, - "body" => $merchant['mer_name'] . ' - ' . $merchant['margin'], + "body" => $merchant['mer_name'] . ' - ' . $merchant['recharge_margin'], ]; $payType = 'weixinApp'; $service = new PayService($payType, $param);