Merge branches 'feature/redpack' and 'release/6.7.9' of http://git.yoho.cn/fe/yo…
…hobuywap-node into feature/redpack # Conflicts: # apps/activity/router.js
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -278,6 +278,7 @@ router.get('/feature/couponSend', feature.couponSend); // 获取优惠券 | @@ -278,6 +278,7 @@ router.get('/feature/couponSend', feature.couponSend); // 获取优惠券 | ||
278 | router.get('/tide/category', auth, tide.category); // 潮品推介 | 278 | router.get('/tide/category', auth, tide.category); // 潮品推介 |
279 | router.get('/tide/shop', auth, tide.shop); // 潮牌推介 | 279 | router.get('/tide/shop', auth, tide.shop); // 潮牌推介 |
280 | router.get('/feature/redenvelope', feature.redenvelope); // 获取红包 | 280 | router.get('/feature/redenvelope', feature.redenvelope); // 获取红包 |
281 | +router.get('/feature/goods', feature.goods); | ||
281 | 282 | ||
282 | // 2016 年度账单 | 283 | // 2016 年度账单 |
283 | router.get('/annual-account', annualAccount.index); | 284 | router.get('/annual-account', annualAccount.index); |
@@ -58,7 +58,7 @@ exports.index = async(req, res, next) => { | @@ -58,7 +58,7 @@ exports.index = async(req, res, next) => { | ||
58 | shareUrl = '/activity/red-envelope/index?shareCode=' + shareCode.data; | 58 | shareUrl = '/activity/red-envelope/index?shareCode=' + shareCode.data; |
59 | } | 59 | } |
60 | let result = await req.ctx(newHomeModel).index(params); | 60 | let result = await req.ctx(newHomeModel).index(params); |
61 | - let recommendHide = await _.get(req.app.locals.wap, 'ucenter.removePrefer', false); | 61 | + let recommendHide = _.get(req.app.locals.wap, 'ucenter.removePrefer', false); |
62 | 62 | ||
63 | responseData.isWxcs = isWxcs; | 63 | responseData.isWxcs = isWxcs; |
64 | responseData.shareUrl = shareUrl; | 64 | responseData.shareUrl = shareUrl; |
-
Please register or login to post a comment