Commit a2a76c59 authored by 何毅恒's avatar 何毅恒

优化立即购买时未登录逻辑

parent 31b8e911
This diff is collapsed.
......@@ -249,6 +249,7 @@ export default {
async supportCashOnDelivery(shop_id){
const {code,data} = await isSupportCashOnDelivery(shop_id);
this.isSupportCOD = data;
console.log(this.isSupportCOD)
},
......@@ -385,7 +386,6 @@ export default {
const { status, data } = await confirmOrder(form)
if(status) {
cb && typeof cb === 'function' && cb(data.order_sn)
console.log(data)
// const a = await pay({order_sn: data.order_sn, openid: this.openid})
// console.log(a)
// wxPay({params: a.data, })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment