Commit 85f26490 by 王昆

gsb

parent 17096f58
...@@ -43,10 +43,6 @@ module.exports = function (app) { ...@@ -43,10 +43,6 @@ module.exports = function (app) {
redisClient.setWithEx(xggadminsid, JSON.stringify(jsonUser), 60 * 60 * 60); redisClient.setWithEx(xggadminsid, JSON.stringify(jsonUser), 60 * 60 * 60);
} }
req.loginUser = jsonUser; req.loginUser = jsonUser;
if(req.loginUser.uctype != 1) {
res.end(JSON.stringify({ status: -99, msg: "no platform user, kick off" }));
return;
}
next(); next();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment