|
@@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -160,6 +161,16 @@ public class TeacherImLiveBroadcastRoomController extends BaseController {
|
|
|
return succeed();
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @ApiOperation("设置连麦状态")
|
|
|
+ @PutMapping("/userWhetherMic")
|
|
|
+ public HttpResponseResult<Object> userWhetherMic(@ApiParam(value = "房间uid", required = true) String roomUid,
|
|
|
+ @ApiParam(value = "用户id", required = true) Long userId,
|
|
|
+ @ApiParam(value = "连麦状态 0:未申请1:申请连麦中2:连麦中", required = true) Integer whetherMicStatus) {
|
|
|
+ imLiveBroadcastRoomService.userWhetherMic(roomUid,userId,whetherMicStatus);
|
|
|
+ return succeed();
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("查询直播间商品订单列表")
|
|
|
@GetMapping("/queryLiveRoomGoodsOrderList")
|
|
|
public HttpResponseResult<PageInfo<LiveRoomGoodsOrderVo>> queryLiveRoomGoodsOrderList(LiveRoomGoodsOrderQueryInfo queryInfo) {
|