From 7f47076c5d914ac968d2dcc4abc8292ad0574f2c Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 12 Nov 2019 15:31:24 +0800 Subject: [PATCH] =?UTF-8?q?ios=20=E5=85=BC=E5=AE=B9=E6=97=A7=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/PayH5Controller.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index b3b69526..52fa13cc 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -604,7 +604,7 @@ ADD COLUMN `pay_url` text NULL AFTER `check_sign`; $game_id = I('request.game_id'); if($request['price']*1<=0 || $request['price'] > C('WX_PAY_LIMIT')) { // $this->set_message(0,"fail","充值金额有误"); - redirect(U('Spend/notice',array('user_id'=>$user_id,'msg'=>'充值金额有误', 'user_token' => $this->userToken)));exit; + redirect(U('Spend/notice',array('user_id'=>$user_id,'msg'=>'充值金额有误', 'game_id' => $game_id, 'user_token' => $this->userToken)));exit; } $pay_amount = $request['price']; @@ -613,6 +613,7 @@ ADD COLUMN `pay_url` text NULL AFTER `check_sign`; $request['pay_status'] = 0; $request['spend_ip'] = get_client_ip(); $request['pay_order_number'] = 'PF_'.date('Ymd').date('His').sp_random_string(4); + $request['sdk_version'] = I('request.sdk_version'); //0 官方 1威富通 2俊付通 if (get_wx_pay_type() == 0) {