...
|
...
|
@@ -13,7 +13,6 @@ var multipart = require('connect-multiparty'); |
|
|
var multipartMiddleware = multipart();
|
|
|
|
|
|
const rvCtrl = require(`${cRoot}/recent-view`);
|
|
|
const cache = require(`${cRoot}/secret-switch`);
|
|
|
const uploadCtrl = require(`${cRoot}/upload`);
|
|
|
const erp2goods = require(`${cRoot}/erp2goods`);
|
|
|
const getBanner = require(`${cRoot}/getBanner`);
|
...
|
...
|
@@ -25,8 +24,6 @@ router.post('/upload/image', multipartMiddleware, uploadCtrl.uploadImg); |
|
|
|
|
|
router.get('/erp2goods', erp2goods.find);
|
|
|
|
|
|
router.get('/secret-switch', cache.index); // 设置cache
|
|
|
|
|
|
router.get('/getbanner', getBanner.index);
|
|
|
|
|
|
router.get('/passport', passport.index);
|
...
|
...
|
|