wx.getSetting({
withSubscriptions: true,
success (res) {
console.log(res)
// res.authSetting = {
// "scope.userInfo": true,
// "scope.subscribeMessage": true
// }
console.log(res.subscriptionsSetting)
// res.subscriptionsSetting = {
// SYS_MSG_TYPE_INTERACTIVE: 'accept',
// SYS_MSG_TYPE_RANK: 'accept',
// zun-LzcQyW-edafCVvzPkK4de2Rllr1fFpw2A_x0oXE: 'reject',
// ke_OZC_66gZxALLcsuI7ilCJSP2OJ2vWo2ooUPpkWrw: 'ban',
// }
}
})
wx.requestSubscribeMessage({
tmplIds: ['Y-aABRdqzPotRYrBtlIOEa03NisFYoigBE66r99aedA'],
success: res => {
console.log(res)
},
failerr=>{
console.log(err)
},
complete: res=>{
console.log('complete', res)
}
});
你好,我也遇到了,请问如何解决呢
怎么无效了
文档写了,但是社区反馈不支持哈哈