Commit 74106942 by 李嘉林

修改

parent 8a9b92b3
......@@ -54,7 +54,8 @@ export default {
if (tmplIds.length > 0) {
wx.requestSubscribeMessage({
tmplIds: tmplIds,
success(res) {
success:(res)=> {
if(res.tmplIds[0]=="accept"){
wx.showToast({
title: "您已成功订阅~",
icon: "success"
......@@ -65,6 +66,7 @@ export default {
subMessageTemplateId:tmplIds[0],
};
live.addLiveNoticeByCustomer(query).then(res => {});
}
console.log("message success response: ", res);
},
fail(res) {
......
......@@ -174,6 +174,9 @@ export default {
}else if(querys.length == 2){
this.params += `&userId=${querys[1]}`
}
}else if(querys[0] == "coupon"){
this.page = `/personalCenter/coupon/getCoupon`;
this.params+=`&couponId=${querys[1]}`
}
}
console.log(querys, "scene");
......
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