|
|
|
@ -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;
|
|
|
|
|