Authored by 郭成尧

'union'

  1 +/**
  2 + * Created by yoho on 2016/11/8.
  3 + */
  4 +'use strict';
  5 +const helpers = global.yoho.helpers;
  6 +
  7 +exports.index = (req, res) => {
  8 + return res.redirect(req.query.targetUrl || helpers.urlFormat('/'));
  9 +};
@@ -26,6 +26,7 @@ const shopCollect = require(`${cRoot}/shopCollect`); @@ -26,6 +26,7 @@ const shopCollect = require(`${cRoot}/shopCollect`);
26 26
27 const singleDay = require(`${cRoot}/single-day`); 27 const singleDay = require(`${cRoot}/single-day`);
28 const share = require(`${cRoot}/share`); 28 const share = require(`${cRoot}/share`);
  29 +const union = require(`${cRoot}/union`);
29 30
30 // routers 31 // routers
31 32
@@ -105,6 +106,7 @@ router.get('/single-day/getSingleData', singleDay.getSingleData); @@ -105,6 +106,7 @@ router.get('/single-day/getSingleData', singleDay.getSingleData);
105 router.get('/single-day/getProductData', singleDay.getProductData); 106 router.get('/single-day/getProductData', singleDay.getProductData);
106 107
107 router.get('/share', share.getShareContent); 108 router.get('/share', share.getShareContent);
  109 +router.get('/union', union.index);
108 110
109 // 102828会员日 111 // 102828会员日
110 router.get('/vip-day1028', vipDay1028.index); 112 router.get('/vip-day1028', vipDay1028.index);