saunter.js
599 Bytes
/**
* saunter页控制器文件
* @author: xuqi(qi.xu@yoho.cn)
* @date: 2015/3/27
*/
var data = require('../../public/js/data'),
showData = data('saunter'),
homeData = data('saunterHome');
//详情页
exports.show = function(req, res) {
res.render('pages/saunter', {
data: showData,
layout: '../layouts/layout',
isSaunter: true,
isLogin: 'N'
});
};
//逛首页
exports.home = function(req, res) {
res.render('pages/saunter-home', {
data: homeData,
layout: '../layouts/layout',
isSaunterHome: 'saunter-home'
});
};