|  | @@ -12,6 +12,7 @@ import com.yonge.toolset.utils.validator.ValidationKit;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiParam;
 | 
	
		
			
				|  |  | +import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.springframework.validation.BindingResult;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -54,6 +55,9 @@ public class ImGroupController extends BaseController {
 | 
	
		
			
				|  |  |      @ApiOperation("获取指定用户的群列表")
 | 
	
		
			
				|  |  |      @PostMapping(value = "/queryTeacherGroup")
 | 
	
		
			
				|  |  |      public HttpResponseResult<List<ImGroupResultDto>> queryTeacherGroup(@RequestBody ImGroupSearchDto imGroupSearchDto) throws Exception {
 | 
	
		
			
				|  |  | +        if (StringUtils.isEmpty(imGroupSearchDto.getType())) {
 | 
	
		
			
				|  |  | +            imGroupSearchDto.setType("FAN");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          return succeed(imGroupService.queryTeacherFun(imGroupSearchDto));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |