diff --git a/pages/owner.vue b/pages/owner.vue index 39adfa7..d78c0af 100644 --- a/pages/owner.vue +++ b/pages/owner.vue @@ -19,10 +19,10 @@ 消息通知 - - - - + + 点击开启 + + @@ -86,6 +86,15 @@ export default { this.user = res.data }) }, + openSubMessage(){ + uni.requestSubscribeMessage({ + //此处填写刚才申请模板的模板ID + tmplIds: ['E8RK91cPLMios6ZHoKx6FJOV4H2kodx6yPWYp7jpLJY'], + success(res) { + console.log('requestSubscribeMessage', res) + } + }) + }, edit() { uni.navigateTo({ url: '/sub/owner/edit'