mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
Compare commits
No commits in common. "97a82f99777e5e3d907e68c9ae7b37a52d29f0e0" and "161d7e4e33d413166cbb2e7f5e41a890a0721ffe" have entirely different histories.
97a82f9977
...
161d7e4e33
@ -127,7 +127,7 @@ export function _refreshWechatOpenId(options, appId) {
|
||||
}).then(_data => {
|
||||
if (_data.code == 0) {
|
||||
let _date = new Date();
|
||||
uni.setStorageSync("refreshUserOpenId", _date.getTime());
|
||||
uni.setStorageSync("refreshUserOpenId", _data.getTime());
|
||||
window.location.href = _data.data.openUrl;
|
||||
return;
|
||||
}
|
||||
@ -183,8 +183,6 @@ export function loginByOpenId(openId) {
|
||||
uni.setStorageSync("currentCommunityInfo", {
|
||||
communityId: _json.data.communityId,
|
||||
communityName: _json.data.communityName,
|
||||
sCommunityTel:_json.data.communityTel
|
||||
|
||||
});
|
||||
uni.removeStorageSync("ownerInfo");
|
||||
saveUserLoginInfo(_json.data.userId, _json.data.token, _json.data.key);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user