From e899fc00109a566eb2c8b7e0ba7e415062f9e57e Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Thu, 28 Nov 2024 23:31:44 +0800 Subject: [PATCH] yh --- Application/Sdk/Controller/PayH5Controller.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index 5827cd0..3a28580 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -1615,7 +1615,11 @@ class PayH5Controller extends BaseController{ if($is_pay['status']==1){ 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"); + $redirectBaseUri = C('PAY_DOMAIN'); + if ($pay_info['partner'] == '1699330320') { + $redirectBaseUri = 'https://wap.hexidongkeji.top/'; + } + $json_data['url'] = $is_pay['mweb_url'].'&redirect_url='.urlencode($redirectBaseUri."sdk.php/Spend/paycallback/orderno/{$request['pay_order_number']}/game_id/{$request['game_id']}/paytype/weixinpay"); $request['pay_url'] = $json_data['url'] . "&tx_client=hideopen"; $request['merchant_id'] = $pay_info['id']; $request['merchant_way'] = self::WX_PAY;