mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
Compare commits
2 Commits
161d7e4e33
...
97a82f9977
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97a82f9977 | ||
|
|
4d77b1c401 |
@ -127,7 +127,7 @@ export function _refreshWechatOpenId(options, appId) {
|
||||
}).then(_data => {
|
||||
if (_data.code == 0) {
|
||||
let _date = new Date();
|
||||
uni.setStorageSync("refreshUserOpenId", _data.getTime());
|
||||
uni.setStorageSync("refreshUserOpenId", _date.getTime());
|
||||
window.location.href = _data.data.openUrl;
|
||||
return;
|
||||
}
|
||||
@ -183,6 +183,8 @@ 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