Showing
2 changed files
with
4 additions
and
4 deletions
@@ -10,7 +10,7 @@ const router = require('express').Router(); // eslint-disable-line | @@ -10,7 +10,7 @@ const router = require('express').Router(); // eslint-disable-line | ||
10 | const cRoot = './controllers'; | 10 | const cRoot = './controllers'; |
11 | 11 | ||
12 | // 商品详情controller | 12 | // 商品详情controller |
13 | - const detail = require(`${cRoot}/detail`); | 13 | +const detail = require(`${cRoot}/detail`); |
14 | 14 | ||
15 | // 商品促销controller | 15 | // 商品促销controller |
16 | const sale = require(`${cRoot}/sale`); | 16 | const sale = require(`${cRoot}/sale`); |
@@ -32,6 +32,6 @@ router.get('/outlets/special/detail', outlets.special); | @@ -32,6 +32,6 @@ router.get('/outlets/special/detail', outlets.special); | ||
32 | router.get('/outlets/:channel', outlets.channel); | 32 | router.get('/outlets/:channel', outlets.channel); |
33 | 33 | ||
34 | // | 34 | // |
35 | -router.get('/detail/:id/:gid',detail.index); | 35 | +router.get('/detail/:id/:gid', detail.index); |
36 | 36 | ||
37 | module.exports = router; | 37 | module.exports = router; |
-
Please register or login to post a comment