|
|
|
@ -584,18 +584,10 @@ class ShortcutController extends BaseController{
|
|
|
|
|
} else {
|
|
|
|
|
$data['redirectUrl'] = C('PAY_DOMAIN').U('Spend/shortcut_notice',array('status'=> 1, 'orderno' => $payInfo['order_id'], 'user_id'=>I('user_id'),'game_id'=>I('game_id'), 'user_token' => I('request.user_token')));
|
|
|
|
|
}
|
|
|
|
|
/* $bankCardNo = I('bankCardNo', '');
|
|
|
|
|
$idCardNo = I('idCardNo', '');
|
|
|
|
|
$cardName = I('cardName', '');
|
|
|
|
|
if (!$bankCardNo || !$idCardNo || !$cardName) {
|
|
|
|
|
echo json_encode(['code'=>0,'msg'=> '参数有误']);
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
$data['paymentParamExt'] = '{"bankCardNo":"'.$bankCardNo.'","idCardNo":"'.$idCardNo.'","cardName":"'.$cardName.'"}';
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
$data['paymentParamExt'] = '{}';
|
|
|
|
|
$yeeData = $yeepay->yee_pay($data);
|
|
|
|
|
// var_dump($yeeData);//die;
|
|
|
|
|
// var_dump($data, $yeeData);//die;
|
|
|
|
|
if ($yeeData['data']['result']['code'] != 'OPR00000') {
|
|
|
|
|
echo json_encode(['code'=>0, 'msg'=> '支付参数有误,请重试'.$yeeData['data']['result']['code']]);
|
|
|
|
|
exit;
|
|
|
|
|