router.js 569 Bytes
/**
 * router of sub app help
 * @author: yyq<yanqing.yang@yoho.cn>
 * @date: 2016/11/14
 */

'use strict';

const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';

const help = require(`${cRoot}/index`);
const about = require(`${cRoot}/about`);
router.get('/help', help.index);


router.get('/yohobuy.html', about.yohobuy);
router.get('/newpower.html', about.newpower);
router.get('/contact.html', about.contact);
router.get('/privacy.html', about.privacy);
router.get('/link.html', about.yoholink);
module.exports = router;