...
|
...
|
@@ -6,7 +6,7 @@ const helpers = global.yoho.helpers; |
|
|
const crypto = global.yoho.crypto;
|
|
|
|
|
|
exports.index = (req, res) => {
|
|
|
let quhUnion = crypto.encryption('', decodeURI(req.query._QYH_UNION));
|
|
|
let quhUnion = encodeURIComponent(crypto.encryption('', decodeURIComponent(req.query._QYH_UNION)));
|
|
|
|
|
|
res.cookie('_QYH_UNION', quhUnion, {
|
|
|
domain: 'yohobuy.com',
|
...
|
...
|
|