Authored by 周少峰

head cache

... ... @@ -266,7 +266,7 @@ async function requestHeaderData(type) {
resData = template(resData);
if (res[0] && res[0].data && res[1] && res[1].data) {
if (!_.isEmpty(res[0].data) && !_.isEmpty(res[1].data)) {
cacheHeaderHtml[type] = resData;
}
} else {
... ...
... ... @@ -56,7 +56,7 @@
"urlencode": "^1.1.0",
"uuid": "^2.0.2",
"yoho-express-session": "^2.0.0",
"yoho-node-lib": "=0.5.16",
"yoho-node-lib": "^0.5.12",
"yoho-zookeeper": "^1.0.8"
},
"devDependencies": {
... ...