Authored by htoooth

add time

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