Commit ad3655f9 authored by zhengke's avatar zhengke

修改

parent 59185cc0
...@@ -166,9 +166,13 @@ ...@@ -166,9 +166,13 @@
goFukuan(){ goFukuan(){
var that = this; var that = this;
var tempObj = uni.getStorageSync('basedata').mall.wechatmessage; var tempObj = uni.getStorageSync('basedata').mall.wechatmessage;
var tmplIds = ''; var tmplIds = [];
if(tempObj&&tempObj.length>0){ if(tempObj&&tempObj.length>0){
tmplIds = tempObj[0].MessageId; tempObj.forEach(x=>{
if(x.Name=='下单成功提醒'||x.Name=='订单取消提醒'){
tmplIds.push(x.MessageId)
}
})
} }
uni.requestSubscribeMessage({ uni.requestSubscribeMessage({
tmplIds: tmplIds, tmplIds: tmplIds,
......
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