From b1bf62fab8fa50f26c71befbbe8493d5cee8a009 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sat, 3 Aug 2024 10:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=A2=E6=88=B7=E7=94=B5?= =?UTF-8?q?=E8=AF=9D=E4=B8=8D=E6=98=BE=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/community/communityApi.js | 2 +- api/owner/ownerApi.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/api/community/communityApi.js b/api/community/communityApi.js index 5994753..0b659a0 100644 --- a/api/community/communityApi.js +++ b/api/community/communityApi.js @@ -125,7 +125,7 @@ export function getCurCommunity() { if (!_currentCommunityInfo) { _currentCommunityInfo = { communityId: conf.DEFAULT_COMMUNITY_ID, - communityName: conf.DEFAULT_COMMUNITY_NAME + communityName: conf.DEFAULT_COMMUNITY_NAME, } } resolve(_currentCommunityInfo); diff --git a/api/owner/ownerApi.js b/api/owner/ownerApi.js index ed00ba7..f8231d0 100644 --- a/api/owner/ownerApi.js +++ b/api/owner/ownerApi.js @@ -91,7 +91,9 @@ export function hasAuthOwner(_that) { wx.setStorageSync(mapping.OWNER_INFO, _ownerInfo); let _currentCommunityInfo = { communityId: _ownerInfo.communityId, - communityName: _ownerInfo.communityName + communityName: _ownerInfo.communityName, + communityTel: _ownerInfo.communityTel + }; wx.setStorageSync(mapping.CURRENT_COMMUNITY_INFO, _currentCommunityInfo); resolve(_ownerInfo);