|
|
|
@ -51,7 +51,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
|
}
|
|
|
|
|
$request['pay_order_number'] = $pay_info['order_id'];
|
|
|
|
|
|
|
|
|
|
if(get_zfb_type()==0){ // 支付宝官方
|
|
|
|
|
if(get_zfb_type($game_id, $user_id)==0){ // 支付宝官方
|
|
|
|
|
if(C('alipay.way')==1/* || ($request['is_create_ordernumer']==1 && C('alipay.way')==0) */){ /* wap */
|
|
|
|
|
|
|
|
|
|
$request['apitype'] = "alipay";
|
|
|
|
@ -99,7 +99,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
|
'pay_url' => $request['pay_url']
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
}elseif(get_zfb_type() == 2) { // 双乾
|
|
|
|
|
}elseif(get_zfb_type($game_id, $user_id) == 2) { // 双乾
|
|
|
|
|
|
|
|
|
|
$request['pay_way'] = C('PAY_WAY.SQ_ALIPAY');
|
|
|
|
|
$request['pay_status'] = 0;
|
|
|
|
@ -303,7 +303,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
|
|
|
|
|
|
$this->other_price($request);
|
|
|
|
|
|
|
|
|
|
if(get_zfb_type()==0){ // 支付宝官方
|
|
|
|
|
if(get_zfb_type($game_id, $user_id)==0){ // 支付宝官方
|
|
|
|
|
if(C('alipay.way')==1/* || ($request['is_create_ordernumer']==1 && C('alipay.way')==0) */){ /* wap */
|
|
|
|
|
|
|
|
|
|
$game_set_data = get_game_set_info($request['game_id']);
|
|
|
|
@ -346,8 +346,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
|
'pay_url' => $request['pay_url']
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
}elseif(get_zfb_type() == 2) { // 双乾
|
|
|
|
|
|
|
|
|
|
}elseif(get_zfb_type($game_id, $user_id) == 2) { // 双乾
|
|
|
|
|
$request['pay_way'] = C('PAY_WAY.SQ_ALIPAY');
|
|
|
|
|
$request['pay_status'] = 0;
|
|
|
|
|
$request['spend_ip'] = get_client_ip();
|
|
|
|
|