uni.login({
provider: 'weixin',
success: res => {
// 获取后台存储的模版id
setUserLoginCode(res.code).then(result => {
if (result.code === 200) {
// 展示弹框
uni.requestSubscribeMessage({
tmplIds: [result.msg],
success: (res) => {
console.log(res)
}
})
}
})
}
})
具体报错信息是什么?