router.js
551 Bytes
/**
* @author: zxr
*/
'use strict';
const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';
const aboutCtrl = require(`${cRoot}/about`);
router.get('/yohobuy.html', aboutCtrl.yohobuy);
router.get('/newpower.html', aboutCtrl.newpower);
router.get('/contact.html', aboutCtrl.contact);
router.get('/privacy.html', aboutCtrl.privacy);
router.get('/link.html', aboutCtrl.link);
router.get('/categorymap.html', aboutCtrl.category);
router.get('/chanpinmap.html', aboutCtrl.chanpin);
module.exports = router;