Authored by 周少峰

cache time

... ... @@ -278,7 +278,7 @@ async function requestHeaderData(type) {
resData = template(resData);
if (!_.isEmpty(res[0].data) && !_.isEmpty(res[1].data)) {
cacheHeaderHtml[type] = resData;
cacheHeaderHtml[type] = [resData, new Date()];
}
} else {
resData = cacheHeaderHtml[type][0];
... ...