快捷支付bug修改

master
zhengyongxing 5 years ago
parent bd7aa6e744
commit 1c613fd48a

@ -869,15 +869,15 @@ class ShortcutController extends BaseController{
}
//0 官方 1双乾
if (get_shortcut_pay_type() == 0) {
// 暂时只有双乾
}elseif(get_shortcut_pay_type() == 1){
if($request['code']==1){
$this->add_spend($request,1);
}else{
$this->add_deposit($request,1);
}
}
// if (get_shortcut_pay_type() == 0) {
// // 暂时只有双乾
// }elseif(get_shortcut_pay_type() == 1){
// if($request['code']==1){
// $this->add_spend($request,1);
// }else{
// $this->add_deposit($request,1);
// }
// }
// var_dump($request['goods_info']);die();
$this->assign("pay_amount", $request['actual_amount']?$request['actual_amount']:$request['price']);
$this->assign("user_id", $request['user_id']);

Loading…
Cancel
Save