|  | @@ -1,5 +1,8 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.student.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.entity.Student;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.entity.Teacher;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.*;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiParam;
 | 
	
	
		
			
				|  | @@ -10,6 +13,7 @@ import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.slf4j.Logger;
 | 
	
		
			
				|  |  |  import org.slf4j.LoggerFactory;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.http.HttpStatus;
 | 
	
		
			
				|  |  |  import org.springframework.http.MediaType;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.GetMapping;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.PostMapping;
 | 
	
	
		
			
				|  | @@ -22,15 +26,6 @@ import com.ym.mec.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dto.CashAccountDetail;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.SysSuggestion;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.SysUserBankCard;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.ClassGroupService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.ImGroupNoticeService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.StudentManageService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.SubjectService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.SysSuggestionService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.SysUserBankCardService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.SysUserCashAccountDetailService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.SysUserCashAccountService;
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.UploadFileService;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.UploadReturnBean;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.filters.TenantIdThreadLocal;
 | 
	
	
		
			
				|  | @@ -59,6 +54,8 @@ public class StudentManageController extends BaseController {
 | 
	
		
			
				|  |  |      private StudentManageService studentManageService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private SubjectService subjectService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private StudentService studentService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private final static Logger LOGGER = LoggerFactory.getLogger(StudentManageController.class);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -94,6 +91,18 @@ public class StudentManageController extends BaseController {
 | 
	
		
			
				|  |  |          return succeed();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "获取学员基本信息")
 | 
	
		
			
				|  |  | +    @GetMapping("student/queryUserInfo")
 | 
	
		
			
				|  |  | +    public Object queryUserInfo() {
 | 
	
		
			
				|  |  | +        SysUser user = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | +        if (user == null) {
 | 
	
		
			
				|  |  | +            return failed(HttpStatus.FORBIDDEN, "请登录");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        Student student = studentService.get(user.getId());
 | 
	
		
			
				|  |  | +        return succeed(student);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      @ApiOperation(value = "根据群编号,获取群组所有成员基本信息")
 | 
	
		
			
				|  |  |      @GetMapping("classGroup/findGroupUsers")
 | 
	
		
			
				|  |  |      public Object findGroupUsers(Integer groupId,String search) {
 |