|
@@ -146,10 +146,10 @@ const smallProgramLoginByGONGZHONGHAODiy = (app: App.AppInstance) => {
|
|
|
store.commit('setToken', token);
|
|
store.commit('setToken', token);
|
|
|
store.commit('setOpenId', openid);
|
|
store.commit('setOpenId', openid);
|
|
|
// 当前时间
|
|
// 当前时间
|
|
|
- var timestamp = Date.parse(new Date());
|
|
|
|
|
|
|
+ // var timestamp = Date.parse(new Date());
|
|
|
// 加上过期期限
|
|
// 加上过期期限
|
|
|
- var expiration = timestamp + 24 * 60 * 60 * 1000;
|
|
|
|
|
- uni.setStorageSync('data_expiration', expiration);
|
|
|
|
|
|
|
+ // var expiration = timestamp + 24 * 60 * 60 * 1000;
|
|
|
|
|
+ // uni.setStorageSync('data_expiration', expiration);
|
|
|
// location.href = `${useDomain(true)}/#/`;
|
|
// location.href = `${useDomain(true)}/#/`;
|
|
|
resolve(true);
|
|
resolve(true);
|
|
|
}
|
|
}
|