?tx_client=hideopen

&tx_client=hideopen
master
tpingzhang 5 years ago
parent 2185294764
commit 602bc6705d

@ -359,6 +359,7 @@ class PayH5Controller extends BaseController{
$ret = json_decode($ret, true);
$json_data['url']=$ret[0]['payURL'];
if($ret[0]['respCode'] == '000000'){
$json_data['url'] .= "?tx_client=hideopen";
// 存入pay_url 继续支付
M("spend", "tab_")->where([
'extend' => $request['extend'],
@ -1206,7 +1207,7 @@ ADD COLUMN `pay_url` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL AFTER
if($request['code']==1){
$json_data['url'] = $is_pay['mweb_url'].'&redirect_url='.urlencode(C('PAY_DOMAIN')."sdk.php/Spend/paycallback/orderno/{$request['pay_order_number']}/game_id/{$request['game_id']}/paytype/weixinpay");
$request['pay_url'] = $json_data['url'];
$request['pay_url'] = $json_data['url'] . "&tx_client=hideopen";
$this->add_spend($request,1);
}

Loading…
Cancel
Save