Authored by yyq

去除用户id

... ... @@ -7,7 +7,7 @@ module.exports = () => {
if (req.session && _.isNumber(req.session._LOGIN_UID)) {
req.user.uid = req.session._LOGIN_UID;
}
req.user.uid = 11993475;
// session 没有读取到的时候,从 cookie 读取 UID
if (!req.user.uid && req.cookies._UID) {
req.user.uid = cookie.getUid(req);
... ...