Showing
1 changed file
with
5 additions
and
0 deletions
@@ -14,6 +14,7 @@ const coupon = require('./controllers/coupon'); | @@ -14,6 +14,7 @@ const coupon = require('./controllers/coupon'); | ||
14 | const guochao = require('./controllers/guochao'); | 14 | const guochao = require('./controllers/guochao'); |
15 | const excel = require('./controllers/excel'); | 15 | const excel = require('./controllers/excel'); |
16 | const multipart = require('connect-multiparty'); | 16 | const multipart = require('connect-multiparty'); |
17 | +const wheelSurf = require('./controllers/wheel-surf'); | ||
17 | const mutilpartMiddleware = multipart(); | 18 | const mutilpartMiddleware = multipart(); |
18 | 19 | ||
19 | router.get('/gettoken', qiniu.getToken); | 20 | router.get('/gettoken', qiniu.getToken); |
@@ -60,4 +61,8 @@ router.post('/guochao/checkFav', guochao.checkFav); | @@ -60,4 +61,8 @@ router.post('/guochao/checkFav', guochao.checkFav); | ||
60 | // 图片处理git | 61 | // 图片处理git |
61 | router.get('/shoes/getBase64ImageData', shoes.getImageData); | 62 | router.get('/shoes/getBase64ImageData', shoes.getImageData); |
62 | 63 | ||
64 | +// wheelSurf | ||
65 | +router.get('/activity/wheelSurf/conf', wheelSurf.getNowConf); | ||
66 | +router.post('/activity/wheelSurf/start', wheelSurf.getNowConf); | ||
67 | + | ||
63 | module.exports = router; | 68 | module.exports = router; |
-
Please register or login to post a comment