mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
优化代码
This commit is contained in:
parent
5171d1c272
commit
d0449486c5
@ -92,7 +92,8 @@ export function hasAuthOwner(_that) {
|
|||||||
let _currentCommunityInfo = {
|
let _currentCommunityInfo = {
|
||||||
communityId: _ownerInfo.communityId,
|
communityId: _ownerInfo.communityId,
|
||||||
communityName: _ownerInfo.communityName,
|
communityName: _ownerInfo.communityName,
|
||||||
communityTel: _ownerInfo.communityTel
|
communityTel: _ownerInfo.communityTel,
|
||||||
|
sCommunityTel:_ownerInfo.communityTel,
|
||||||
|
|
||||||
};
|
};
|
||||||
wx.setStorageSync(mapping.CURRENT_COMMUNITY_INFO, _currentCommunityInfo);
|
wx.setStorageSync(mapping.CURRENT_COMMUNITY_INFO, _currentCommunityInfo);
|
||||||
|
|||||||
@ -80,12 +80,12 @@
|
|||||||
"disableHostCheck" : true,
|
"disableHostCheck" : true,
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
"/app" : {
|
"/app" : {
|
||||||
"target" : "http://127.0.0.1:8008/", //目标接口域名
|
"target" : "http://demo.homecommunity.cn/", //目标接口域名
|
||||||
"changeOrigin" : true, //是否跨域
|
"changeOrigin" : true, //是否跨域
|
||||||
"secure" : true // 设置支持https协议的代理
|
"secure" : true // 设置支持https协议的代理
|
||||||
},
|
},
|
||||||
"/callComponent" : {
|
"/callComponent" : {
|
||||||
"target" : "http://127.0.0.1:8008/", //目标接口域名
|
"target" : "http://demo.homecommunity.cn/", //目标接口域名
|
||||||
"changeOrigin" : true, //是否跨域
|
"changeOrigin" : true, //是否跨域
|
||||||
"secure" : true // 设置支持https协议的代理
|
"secure" : true // 设置支持https协议的代理
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user