<view bindtap="ceshi">ceshi</view>
ceshi(){
wx.requestSubscribeMessage({
tmplIds: ['CS2111111111111LQ'],
success (res) { console.log('成功授权订阅',res)},
complete(rej){
console.log('失败授权订阅',rej)
}
})
}
requestSubscribeMessage:fail can only be invoked by user TAP gesture.
模拟器永远是这个错误
真机可以 醉喽
你好,现在还在这样吗