add
This commit is contained in:
@@ -19,6 +19,7 @@ import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
@@ -66,11 +67,18 @@ public class PCLineInterviewController {
|
||||
return ResponseResult.success(lineInterviewService.enterInterviewRoom(interviewId, userId, InterviewUserTypeEnum.INTERVIEWER));
|
||||
}
|
||||
|
||||
@GetMapping("/finish")
|
||||
@ApiOperation("结束面试")
|
||||
@GetMapping("/finish")
|
||||
public ResponseResult finishInterview(@RequestParam("interviewId")Long interviewId) throws ApiException {
|
||||
String userId = CurrentUserHolder.getUserId();
|
||||
lineInterviewService.finishInterview(interviewId, userId);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("上传文件")
|
||||
@GetMapping("/upload/video")
|
||||
public ResponseResult uploadVideo(@RequestParam("interviewId")Long interviewId, @RequestParam("videoUrlList") List<String> videoUrlList) throws ApiException {
|
||||
lineInterviewService.uploadVideo(interviewId, videoUrlList);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user