router.js 520 Bytes
/**
 * 路由处理文件
 * @author: xuqi(qi.xu@yoho.cn)
 * @date: 2015/3/27
 */
var saunter = require('./views/controller/saunter'),
    tag = require('./views/controller/tag'),
    ps = require('./views/controller/ps');

module.exports = function(app) {
    app.get('/', saunter.show); //着陆页
    app.get('/optimize', saunter.optimize); //优化着陆页

    app.get('/tag', tag.show); //标签页

    app.get('/ps', ps.show); //plus + star
    app.get('/ps/readTpl', ps.readTpl); //获取相关资讯模板
};