Commit bcd1054b by weijiguang
parents 39db9abf c7182879
......@@ -216,15 +216,20 @@ export default {
messageAndSave() {
wx.requestSubscribeMessage({
tmplIds: ['1uErx-15S-3vuopXSvvsxCeM_Jd-1iZC-nXzd2yW3QU', 'Q4HDwBEvpTXpwtZktqWm4SZOTEuQK1x48xjqjD2GqyM', 'Fu_CPIXa0cnJ4EDdVKqFQ3qqKJccMqt2oorI5mfNq74'],
success: () => {
success: (res) => {
const finalValue = Object.values(res).indexOf('reject')
if(finalValue===-1){
uni.setStorageSync('isMessage', 'true')
User.setAllow(1)
this.saveReserve()
},
fail: () => {
}else{
User.setAllow(2)
this.saveReserve()
}
},
fail: (err) => {
console.log(err);
}
})
},
//结算组装数据发起订单
......
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