|
@@ -31,6 +31,7 @@ module.exports = app => {
|
|
router.post('/api/onlive/room/updateanchor', controller.room.updateanchor);
|
|
router.post('/api/onlive/room/updateanchor', controller.room.updateanchor);
|
|
router.post('/api/onlive/room/updateshmai', controller.room.updateshmai);
|
|
router.post('/api/onlive/room/updateshmai', controller.room.updateshmai);
|
|
router.post('/api/onlive/room/switchzjr', controller.room.switchzjr);
|
|
router.post('/api/onlive/room/switchzjr', controller.room.switchzjr);
|
|
|
|
+ router.post('/api/onlive/room/switchzb', controller.room.switchzb);
|
|
|
|
|
|
// 聊天表设置路由
|
|
// 聊天表设置路由
|
|
router.resources('chat', '/api/onlive/chat', controller.chat); // index、create、show、destroy
|
|
router.resources('chat', '/api/onlive/chat', controller.chat); // index、create、show、destroy
|