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);