Authored by yyq

cache key

... ... @@ -31,7 +31,7 @@ const domains = {
module.exports = {
app: 'h5',
appVersion: '6.8.9', // 调用api的版本
appVersion: '6.9.5', // 调用api的版本
appName: 'yoho-community-web',
port: 6001,
siteUrl: '//m.yohobuy.com',
... ...
... ... @@ -93,8 +93,8 @@ const getCacheKey = (req, route) => {
ck += `?${qks.map(qk => `${qk}=${req.query && req.query[qk] || ''}`).join('&')}`;
}
ck += `|${isIos ? 'ios' : 'android'}`;
ck += `|${isIos ? 'ios' : 'android'}|${config.appVersion}`;
console.log(ck);
return md5(ck);
};
... ...
{
"name": "yoho-community-web",
"version": "6.9.5-4",
"version": "6.9.5-5",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...