Authored by 2586703@qq.com

kids js html

/**
* 潮童首页数据结构
* @author: liuyue(yue.liu@yoho.cn)
* @date: 2015/8/26
*/
module.exports = {
}
\ No newline at end of file
... ...
/**
* 潮童首页控制器
* @author: liuyue(yue.liu@yoho.cn)
* @date: 2015/8/26
*/
var data = require('../../public/js/data/kids'),
layoutPath = '../layouts/layout';
// 首页
exports.index = function(req, res) {
res.render('pages/kids', {
data: data,
layout: layoutPath
});
};
\ No newline at end of file
... ...