...
|
...
|
@@ -28,7 +28,7 @@ module.exports = () => { |
|
|
req.user.token = getToken(uidCookie); // 3
|
|
|
req.user.isStudent = req.cookies.isStudent || 0;
|
|
|
}
|
|
|
req.user.uid = 4474410;
|
|
|
|
|
|
// 记住我
|
|
|
// if (_.isEmpty(req.user) && req.cookies.isRemember === 'true' && req.cookies.remem) {
|
|
|
// return cache.get(req.cookies.remem).then((result) => {
|
...
|
...
|
|