...
|
...
|
@@ -81,7 +81,7 @@ const Auth = { |
|
|
}).catch(console.log);
|
|
|
},
|
|
|
rememberAccount(accountInfo, req, res) {
|
|
|
let aWeek = (new Date()).getTime() / 1000 + 504000; //504000-一周
|
|
|
let aWeek = (new Date()).getTime() / 1000 + 504000; // 504000-一周
|
|
|
let rememKey = md5(md5(accountInfo.account + accountInfo.password + accountInfo.area));
|
|
|
|
|
|
res.cookie('isRemember', true, aWeek);
|
...
|
...
|
|