[添加洗车券]

This commit is contained in:
zhangmanman
2021-07-01 13:24:26 +08:00
parent 63e5206449
commit fc77594016
3 changed files with 7 additions and 6 deletions

View File

@@ -332,9 +332,11 @@ Page({
return
}
wx.requestSubscribeMessage({
tmplIds: ['6SJqWbasj42O_d7yET1s5G1eg62Z4SS3pByBeuXekSo'],
// 6SJqWbasj42O_d7yET1s5G1eg62Z4SS3pByBeuXekSo 正式
// g8cEL-Tf2_Pdh8VyBdsYbhv09VVm8om-ZblhXIaVDiY 测试
tmplIds: ['g8cEL-Tf2_Pdh8VyBdsYbhv09VVm8om-ZblhXIaVDiY'],
success: res=> {
if(res.errMsg == "requestSubscribeMessage:ok") {
if(res["g8cEL-Tf2_Pdh8VyBdsYbhv09VVm8om-ZblhXIaVDiY"] == "accept") {
wx.$api.index.subscribe(1).then(res=>{
wx.showLoading({
title: res.data,
@@ -348,8 +350,6 @@ Page({
wx.hideLoading();
}, 1000)
}).catch(err=>{
})
}
},