...
|
...
|
@@ -14,6 +14,7 @@ const coupon = require('./controllers/coupon'); |
|
|
const guochao = require('./controllers/guochao');
|
|
|
const excel = require('./controllers/excel');
|
|
|
const multipart = require('connect-multiparty');
|
|
|
const wheelSurf = require('./controllers/wheel-surf');
|
|
|
const mutilpartMiddleware = multipart();
|
|
|
|
|
|
router.get('/gettoken', qiniu.getToken);
|
...
|
...
|
@@ -60,4 +61,8 @@ router.post('/guochao/checkFav', guochao.checkFav); |
|
|
// 图片处理git
|
|
|
router.get('/shoes/getBase64ImageData', shoes.getImageData);
|
|
|
|
|
|
// wheelSurf
|
|
|
router.get('/activity/wheelSurf/conf', wheelSurf.getNowConf);
|
|
|
router.post('/activity/wheelSurf/start', wheelSurf.getNowConf);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|