Authored by 郭成尧

'union'

/**
* Created by yoho on 2016/11/8.
*/
'use strict';
const helpers = global.yoho.helpers;
exports.index = (req, res) => {
return res.redirect(req.query.targetUrl || helpers.urlFormat('/'));
};
\ No newline at end of file
... ...
... ... @@ -26,6 +26,7 @@ const shopCollect = require(`${cRoot}/shopCollect`);
const singleDay = require(`${cRoot}/single-day`);
const share = require(`${cRoot}/share`);
const union = require(`${cRoot}/union`);
// routers
... ... @@ -105,6 +106,7 @@ router.get('/single-day/getSingleData', singleDay.getSingleData);
router.get('/single-day/getProductData', singleDay.getProductData);
router.get('/share', share.getShareContent);
router.get('/union', union.index);
// 102828会员日
router.get('/vip-day1028', vipDay1028.index);
... ...