From 9e92af3343a5503a19ab682cf40892b48113fb1c Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Fri, 13 Dec 2024 23:59:59 +0800 Subject: [PATCH] y --- Application/Sdk/Controller/PayH5Controller.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index e00ffb4..e60268b 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -1625,7 +1625,7 @@ class PayH5Controller extends BaseController{ 'role_name' => $request['game_player_name'], 'pay_amount' => (int)($pay_amount*100), 'notify_url' => "http://" . $_SERVER['HTTP_HOST'] . "/callback.php/Notify/outer_callback", - 'return_url' => urlencode(C('PAY_DOMAIN')."sdk.php/Spend/paycallback/orderno/{$request['pay_order_number']}/game_id/{$request['game_id']}/paytype/weixinpay"), + 'return_url' => C('PAY_DOMAIN')."sdk.php/Spend/paycallback/orderno/{$request['pay_order_number']}/game_id/{$request['game_id']}/paytype/weixinpay", 'promote_id' => (int)$request['promote_id'], 'promote_account' => $request['promote_account'] ?: "", 'client_ip' => $request['spend_ip'],