|  | @@ -2,20 +2,20 @@ package com.ym.mec.web.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.dal.entity.ImLiveRoomBlack;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.dal.vo.ImLiveBroadcastRoomVo;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.vo.ImLiveRoomBlackVo;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.service.ImLiveRoomBlackService;
 | 
	
		
			
				|  |  | +import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.HttpResponseResult;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.page.PageInfo;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiImplicitParam;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiImplicitParams;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  | -import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.PostMapping;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RequestBody;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RequestMapping;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import javax.annotation.Resource;
 | 
	
		
			
				|  |  | -import java.util.List;
 | 
	
		
			
				|  |  |  import java.util.Map;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
	
		
			
				|  | @@ -35,12 +35,14 @@ public class ImLiveRoomBlackController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiImplicitParams({
 | 
	
		
			
				|  |  |              @ApiImplicitParam(name = "roomUid", dataType = "String", value = "直播房间uid"),
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "search", dataType = "String", value = "搜索关键字-用户id,用户名,手机号"),
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "search", dataType = "String", value = "搜索关键字-用户id,用户名,手机号", required = true),
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "page", dataType = "Integer", value = "页数"),
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "rows", dataType = "Integer", value = "每页数量"),
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | -    @ApiOperation("分页查询直播间列表")
 | 
	
		
			
				|  |  | -    @GetMapping("/queryStudentList")
 | 
	
		
			
				|  |  | -    public HttpResponseResult<List<SysUser>> queryStudentList(String roomUid, String search) {
 | 
	
		
			
				|  |  | -        return succeed(imLiveRoomBlackService.queryStudentList(roomUid, search));
 | 
	
		
			
				|  |  | +    @ApiOperation("查询当前机构学生 -下拉框")
 | 
	
		
			
				|  |  | +    @PostMapping("/queryStudentList")
 | 
	
		
			
				|  |  | +    public HttpResponseResult<PageInfo<SysUser>> queryStudentList(@RequestBody Map<String, Object> param) {
 | 
	
		
			
				|  |  | +        return succeed(imLiveRoomBlackService.queryStudentList(param));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiImplicitParams({
 | 
	
	
		
			
				|  | @@ -49,7 +51,7 @@ public class ImLiveRoomBlackController extends BaseController {
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      @ApiOperation("添加用户到房间黑名单中")
 | 
	
		
			
				|  |  |      @PostMapping("/add")
 | 
	
		
			
				|  |  | -    public HttpResponseResult<Object> add(Map<String, Object> param){
 | 
	
		
			
				|  |  | +    public HttpResponseResult<Object> add(@RequestBody Map<String, Object> param) {
 | 
	
		
			
				|  |  |          imLiveRoomBlackService.add(param);
 | 
	
		
			
				|  |  |          return succeed();
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -60,7 +62,7 @@ public class ImLiveRoomBlackController extends BaseController {
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      @ApiOperation("删除该用户从房间黑名单中移除")
 | 
	
		
			
				|  |  |      @PostMapping("/delete")
 | 
	
		
			
				|  |  | -    public HttpResponseResult<Object> delete(Map<String, Object> param){
 | 
	
		
			
				|  |  | +    public HttpResponseResult<Object> delete(@RequestBody Map<String, Object> param) {
 | 
	
		
			
				|  |  |          imLiveRoomBlackService.delete(param);
 | 
	
		
			
				|  |  |          return succeed();
 | 
	
		
			
				|  |  |      }
 |