From 5a9cc0a538a41cff0e21b1e6d6f25c80cab74676 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Fri, 22 Nov 2019 00:15:11 +0800 Subject: [PATCH] &tx_client=hideopen --- Application/Sdk/Controller/PayH5Controller.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index 4011a51e..79b546ff 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -622,8 +622,8 @@ ADD COLUMN `pay_url` text NULL AFTER `check_sign`; $is_pay = json_decode($weixn->weixin_pay("充值", $request['pay_order_number'], $pay_amount, 'MWEB'), true); if($is_pay['status']==1){ - $json_data['url'] = $is_pay['mweb_url'].'&redirect_url='.C('PAY_DOMAIN')."sdk.php/Spend/paycallback/orderno/{$request['pay_order_number']}/user_token/".$this->userToken."/paytype/weixinpay/game_id/{$game_id}"."&tx_client=hideopen"; - $request['pay_url'] = $json_data['url']; + $json_data['url'] = $is_pay['mweb_url'].'&redirect_url='.C('PAY_DOMAIN')."sdk.php/Spend/paycallback/orderno/{$request['pay_order_number']}/user_token/".$this->userToken."/paytype/weixinpay/game_id/{$game_id}"; + $request['pay_url'] = $json_data['url']."&tx_client=hideopen"; $this->add_deposit($request, 1); // .(is_ssl()?'https%3A%2F%2F':'http%3A%2F%2F'). $_SERVER ['HTTP_HOST'] . "%2Fsdk.php%2FSpend%2Fpay_success%2Forderno%2F".$request['pay_order_number'].'%2Fgame_id%2F'.$request['game_id'] ; /* if (I('request.api_ver') == 1) { @@ -755,7 +755,7 @@ ADD COLUMN `pay_url` text NULL AFTER `check_sign`; echo json_encode(array( 'status' => 1, - 'data' => $json_data['url'], + 'data' => $json_data['url']."&tx_client=hideopen", )); exit(); //redirect($json_data['url']);