作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

订单模块问题修改

... ... @@ -196,7 +196,7 @@ class Member extends Frontend
$return = [
'pay_type' => $order['pay_type'],
'order_id'=>$param['order_id'],
'url'=>url("index/order/pay",array('order_id'=>$param['order_id']),false,true)
'url'=>url("index/order/pay",array('order_detail_id'=>$param['order_id']),false,true)
];
$this->success('SUCCESS','',$return);
}
... ...
... ... @@ -1086,7 +1086,8 @@
}else if(e.data.pay_type == 2){
//支付宝支付
order_id = e.data.order_id;
window.open(e.data.url);
console.log(e);
// window.open(e.data.url);
}
} else {
toast(e.msg);
... ...