|  | @@ -15,10 +15,7 @@ import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.security.access.prepost.PreAuthorize;
 | 
	
		
			
				|  |  |  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.RequestMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  @Api(tags = "回访服务")
 | 
	
		
			
				|  |  |  @RequestMapping("visit")
 | 
	
	
		
			
				|  | @@ -43,7 +40,7 @@ public class VisitController extends BaseController {
 | 
	
		
			
				|  |  |      @ApiOperation(value = "添加回访")
 | 
	
		
			
				|  |  |      @PostMapping(value = "/add")
 | 
	
		
			
				|  |  |      @PreAuthorize("@pcs.hasPermissions('visit/add')")
 | 
	
		
			
				|  |  | -    public HttpResponseResult<StudentVisit> add(@Validated StudentVisit studentVisit) {
 | 
	
		
			
				|  |  | +    public HttpResponseResult<StudentVisit> add(@RequestBody @Validated StudentVisit studentVisit) {
 | 
	
		
			
				|  |  |          SysUser sysUser = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  |          studentVisit.setTeacherId(sysUser.getId());
 | 
	
		
			
				|  |  |          studentVisit.setVisiterType(StudentVisit.VisiterTypeEnum.EDU_TEACHER);
 |