面试/面谈

This commit is contained in:
zhangchenbiao
2024-03-21 16:38:50 +08:00
parent b35836ae2d
commit af3d96cfeb
8 changed files with 191 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ import com.cool.store.request.ModifyInterviewerRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.LineInterviewService;
import com.cool.store.vo.interview.EnterInterviewVO;
import com.cool.store.vo.interview.InterviewDetailVO;
import com.cool.store.vo.interview.LineInterviewPageVO;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
@@ -52,6 +53,12 @@ public class PCLineInterviewController {
return ResponseResult.success(lineInterviewService.getInterviewerPage(request));
}
@ApiOperation("获取面试信息")
@GetMapping("/detail")
public ResponseResult<InterviewDetailVO> getInterviewDetail(@RequestParam("lineId")Long lineId, @RequestParam("interviewType")Integer interviewType) {
return ResponseResult.success(lineInterviewService.getInterviewDetail(lineId, interviewType));
}
@ApiOperation("进入房间")
@GetMapping("/room/enter")
public ResponseResult<EnterInterviewVO> enterInterviewRoom(@RequestParam("interviewId")Long interviewId) {

View File

@@ -8,6 +8,7 @@ import com.cool.store.service.LineInterviewService;
import com.cool.store.vo.PartnerUserInfoVO;
import com.cool.store.vo.interview.AppointmentTimeVO;
import com.cool.store.vo.interview.EnterInterviewVO;
import com.cool.store.vo.interview.InterviewDetailVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
@@ -55,6 +56,12 @@ public class LineInterviewController {
return ResponseResult.success(lineInterviewService.appointmentTime(request));
}
@ApiOperation("获取面试信息")
@GetMapping("/detail")
public ResponseResult<InterviewDetailVO> getInterviewDetail(@RequestParam("lineId")Long lineId, @RequestParam("interviewType")Integer interviewType) {
return ResponseResult.success(lineInterviewService.getInterviewDetail(lineId, interviewType));
}
@ApiOperation("进入房间")
@GetMapping("/room/enter")
public ResponseResult<EnterInterviewVO> enterInterviewRoom(@RequestParam("interviewId")Long interviewId) {