|
@@ -278,5 +278,14 @@ public class ImLiveBroadcastRoomController extends BaseController {
|
|
|
imLiveBroadcastRoomService.userWhetherMic(roomUid,userId,whetherMicStatus);
|
|
|
return succeed();
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation("设置是否允许连麦")
|
|
|
+ @GetMapping("/whetherMic")
|
|
|
+ public HttpResponseResult<Object> whetherMic(@ApiParam(value = "房间uid", required = true) String roomUid,
|
|
|
+ @ApiParam(value = "是否连麦 0:是 1否", required = true) Integer whetherMic) {
|
|
|
+ imLiveBroadcastRoomService.whetherMic(roomUid,whetherMic);
|
|
|
+ return succeed();
|
|
|
+ }
|
|
|
}
|
|
|
|