优化代码

This commit is contained in:
wuxw 2024-04-12 13:54:51 +08:00
parent 840a48d382
commit d6edd46226

View File

@ -179,14 +179,6 @@ export function loginByOpenId(openId){
communityId:_json.data.communityId, communityId:_json.data.communityId,
communityName:_json.data.communityName, communityName:_json.data.communityName,
}); });
uni.setStorageSync("ownerInfo",{
memberId:_json.data.memberId,
ownerName:_json.data.ownerName,
ownerId:_json.data.ownerId,
ownerTel:_json.data.ownerTel,
communityId:_json.data.communityId,
link:_json.data.ownerTel
});
saveUserLoginInfo(_json.data.userId, _json.data.token, _json.data.key); saveUserLoginInfo(_json.data.userId, _json.data.token, _json.data.key);
}, },
fail: function(e) { fail: function(e) {