|
|
@ -571,6 +571,7 @@ class WapPayController extends BaseController{
|
|
|
|
$request['code'] = 0;
|
|
|
|
$request['code'] = 0;
|
|
|
|
$request['price'] = I('request.code');
|
|
|
|
$request['price'] = I('request.code');
|
|
|
|
$request['game_id'] = I('request.game_id');
|
|
|
|
$request['game_id'] = I('request.game_id');
|
|
|
|
|
|
|
|
$type = "platform";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* $request['user_id'] = 232;
|
|
|
|
/* $request['user_id'] = 232;
|
|
|
|
$request['game_id'] = 78;
|
|
|
|
$request['game_id'] = 78;
|
|
|
@ -635,7 +636,7 @@ class WapPayController extends BaseController{
|
|
|
|
'game_id' => $request['game_id'],
|
|
|
|
'game_id' => $request['game_id'],
|
|
|
|
'order_id' => $request['pay_order_number'],
|
|
|
|
'order_id' => $request['pay_order_number'],
|
|
|
|
'price' => $request['actual_amount']?:$request['price'],
|
|
|
|
'price' => $request['actual_amount']?:$request['price'],
|
|
|
|
'type' => 'sq_shortcut',
|
|
|
|
'type' => $type=='platform' ? 'sq_shortcut_platform' : 'sq_shortcut',
|
|
|
|
'info' => json_encode($request),
|
|
|
|
'info' => json_encode($request),
|
|
|
|
'status' => 'normal',
|
|
|
|
'status' => 'normal',
|
|
|
|
'create_time' => time(),
|
|
|
|
'create_time' => time(),
|
|
|
|