Authored by htoooth

add time

... ... @@ -18,7 +18,8 @@ const jump = (req, res) => {
let encodeStr = Fn.pipe(decodeURIComponent, _.partial(crypto.encryption, null), encodeURIComponent);
res.cookie('_QYH_UNION', encodeStr(_QYH_UNION), {
domain: config.cookieDomain
domain: config.cookieDomain,
maxAge: 60 * 60 * 24 * 1000 // 一天
});
res.redirect(target || helpers.urlFormat(''));
... ...