...
|
...
|
@@ -16,13 +16,21 @@ let index = (req, res, next) => { |
|
|
module: 'channel',
|
|
|
page: 'custom',
|
|
|
content: result,
|
|
|
title: req.query.title || 'Yoho!Buy 有货',
|
|
|
content_code: req.params.id, // 这是位置码,后边去调用资源位,渲染页面
|
|
|
downloadLink: 'http://union.yoho.cn/union/downapp.html?union_type=100000000000081'
|
|
|
title: req.query.title || 'Yoho!Buy 有货'
|
|
|
});
|
|
|
}).catch(next);
|
|
|
};
|
|
|
|
|
|
let zhihui = (req, res) => {
|
|
|
res.render('zhihui', {
|
|
|
module: 'channel',
|
|
|
page: 'custom',
|
|
|
title: req.query.title || 'Yoho!Buy 有货',
|
|
|
downloadLink: 'http://union.yoho.cn/union/downapp.html?union_type=100000000000081'
|
|
|
});
|
|
|
};
|
|
|
|
|
|
module.exports = {
|
|
|
index
|
|
|
index,
|
|
|
zhihui
|
|
|
}; |
...
|
...
|
|