面试预约申请

This commit is contained in:
俞扬
2023-06-18 19:11:07 +08:00
parent 439684a85d
commit af47bb4c24
9 changed files with 182 additions and 11 deletions

View File

@@ -5,6 +5,7 @@ import com.cool.store.request.*;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.InterviewService;
import com.cool.store.vo.EnterInterviewVO;
import com.cool.store.vo.interview.CreateAppointmentVO;
import com.cool.store.vo.interview.InterviewVO;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
@@ -68,9 +69,14 @@ public class InterviewController {
}
@PostMapping("/enter")
@ApiOperation("进入面试间")
@ApiOperation("进入面试")
public ResponseResult<EnterInterviewVO> enterInterviewRoom(@RequestBody EnterInterviewDto dto) {
return ResponseResult.success(interviewService.enterInterviewRoom(dto));
}
@PostMapping("/appointment")
@ApiOperation("预约面试")
public ResponseResult<CreateAppointmentVO> createAppointment(@RequestBody CreateAppointmentReq request) {
return ResponseResult.success(interviewService.createAppointment(request));
}
}