...
|
...
|
@@ -10,7 +10,7 @@ const router = require('express').Router(); // eslint-disable-line |
|
|
const cRoot = './controllers';
|
|
|
|
|
|
// 商品详情controller
|
|
|
const detail = require(`${cRoot}/detail`);
|
|
|
const detail = require(`${cRoot}/detail`);
|
|
|
|
|
|
// 商品促销controller
|
|
|
const sale = require(`${cRoot}/sale`);
|
...
|
...
|
@@ -32,6 +32,6 @@ router.get('/outlets/special/detail', outlets.special); |
|
|
router.get('/outlets/:channel', outlets.channel);
|
|
|
|
|
|
//
|
|
|
router.get('/detail/:id/:gid',detail.index);
|
|
|
router.get('/detail/:id/:gid', detail.index);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|