...
|
...
|
@@ -7,12 +7,17 @@ |
|
|
|
|
|
const config = global.yoho.config;
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const crypto = global.yoho.crypto;
|
|
|
|
|
|
const Fn = require('lodash/fp');
|
|
|
const _ = require('lodash');
|
|
|
|
|
|
const jump = (req, res) => {
|
|
|
let _QYH_UNION = req.query._QYH_UNION || '';
|
|
|
let target = req.query.target || '';
|
|
|
let encodeStr = Fn.pipe(decodeURI, _.partial(crypto.encryption, null));
|
|
|
|
|
|
res.cookie('_QYH_UNION', _QYH_UNION, {
|
|
|
res.cookie('_QYH_UNION', encodeStr(_QYH_UNION), {
|
|
|
domain: config.cookieDomain
|
|
|
});
|
|
|
|
...
|
...
|
|