Authored by ccbikai

修改 sale Bug

... ... @@ -52,7 +52,7 @@ const _processPublicData = (req, title, page, backUrl) => {
* @return {[type]}
*/
let index = (req, res, next) => {
let refer = req.get('Referer') || `${global.yoho.config.siteUrl}/${req.yoho.channel}`;
let refer = req.get('Referer') || `${global.yoho.config.siteUrl}/${req.cookies._Channel || ''}`;
let reqPath = req.baseUrl + req.path;
let backUrl = refer.indexOf(reqPath) === -1 ? refer : '';
... ...