router.js
516 Bytes
'use strict';
const router = require('express').Router({ strict: true }); // eslint-disable-line
const cRoot = './controllers';
const materialController = require(`${cRoot}/index`);
router.get('/', materialController.index);
router.get('/newBrandList', materialController.newBrandList);
router.get('/getCategory', materialController.getCategory);
// ajax
// router.post('/common/getNewArrival', channelController.getNewArrival);
// router.get('/guide', channelController.getIndexGuide);
module.exports = router;