Commit 3943ee36 by linboxuan

0727 AppTokenByHostsCache log

parent 22c1f729
...@@ -228,8 +228,11 @@ module.exports = function (app) { ...@@ -228,8 +228,11 @@ module.exports = function (app) {
res.end(JSON.stringify(result)); res.end(JSON.stringify(result));
return; return;
} }
var cacheManager = system.getObject("db.common.cacheManager"); var cacheManager = system.getObject("db.common.cacheManager");
var result = await cacheManager["AppTokenByHostsCache"].getCache(token, system.exTime); // 2020 0727 lin新增 增加验证token打印日志
console.log("验证token------------------------",token)
var result = await cacheManager["AppTokenByHostsCache"].getCache(token, system.exTime);
console.log("验证token返回结果------------------------",result)
if (result.status != 0) { if (result.status != 0) {
res.end(JSON.stringify(result)); res.end(JSON.stringify(result));
return; return;
......
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