From 58b945eb72561f3216747322bf0309ed89ba838e Mon Sep 17 00:00:00 2001 From: qiaomu <3520484422@qq.com> Date: Tue, 29 Oct 2024 15:31:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=BC=A0=E5=95=86=E6=88=B7id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/my/index.js b/pages/my/index.js index eb42c0c..a507ef6 100644 --- a/pages/my/index.js +++ b/pages/my/index.js @@ -59,7 +59,8 @@ Page({ this.getUnReadNumber() }, async init() { - const result = await getUserInfo(); + const tenement = wx.getStorageSync('tenement') + const result = await getUserInfo(tenement?.id); if (result.code !== OK) { alertInfo(result.message) return;