|
@@ -13,7 +13,6 @@ var multipart = require('connect-multiparty'); |
|
@@ -13,7 +13,6 @@ var multipart = require('connect-multiparty'); |
13
|
var multipartMiddleware = multipart();
|
13
|
var multipartMiddleware = multipart();
|
14
|
|
14
|
|
15
|
const rvCtrl = require(`${cRoot}/recent-view`);
|
15
|
const rvCtrl = require(`${cRoot}/recent-view`);
|
16
|
-const cache = require(`${cRoot}/secret-switch`);
|
|
|
17
|
const uploadCtrl = require(`${cRoot}/upload`);
|
16
|
const uploadCtrl = require(`${cRoot}/upload`);
|
18
|
const erp2goods = require(`${cRoot}/erp2goods`);
|
17
|
const erp2goods = require(`${cRoot}/erp2goods`);
|
19
|
const getBanner = require(`${cRoot}/getBanner`);
|
18
|
const getBanner = require(`${cRoot}/getBanner`);
|
|
@@ -25,8 +24,6 @@ router.post('/upload/image', multipartMiddleware, uploadCtrl.uploadImg); |
|
@@ -25,8 +24,6 @@ router.post('/upload/image', multipartMiddleware, uploadCtrl.uploadImg); |
25
|
|
24
|
|
26
|
router.get('/erp2goods', erp2goods.find);
|
25
|
router.get('/erp2goods', erp2goods.find);
|
27
|
|
26
|
|
28
|
-router.get('/secret-switch', cache.index); // 设置cache
|
|
|
29
|
-
|
|
|
30
|
router.get('/getbanner', getBanner.index);
|
27
|
router.get('/getbanner', getBanner.index);
|
31
|
|
28
|
|
32
|
router.get('/passport', passport.index);
|
29
|
router.get('/passport', passport.index);
|