Authored by 郝肖肖

设置活动页cookie path

... ... @@ -6,13 +6,12 @@
'use strict';
// 活动页保存相应cookie的值
exports.index = (req, res, next) => {
exports.index = (req, res) => {
let mktCode = req.query.mkt_code || false;
// 下载浮层,下载按钮会用到该参数
if (mktCode) {
res.cookie('unionTypeYas', mktCode, {
domain: 'm.yohobuy.com',
path: '/'
});
}
... ...