加盟商资格面试查询面试信息

This commit is contained in:
pserimal
2023-06-09 17:50:48 +08:00
parent 58d3e65fc2
commit 803625b20a
6 changed files with 317 additions and 230 deletions

View File

@@ -0,0 +1,28 @@
package com.cool.store.controller;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.PartnerInterviewService;
import com.cool.store.vo.PartnerInterviewInfoVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@Api(tags = "加盟商资格面试")
@RestController
@RequestMapping("interview")
public class InterviewController {
@Autowired
private PartnerInterviewService interviewService;
@PostMapping("/queryByPartnerId")
@ApiOperation("根据用户id查询面试信息")
public ResponseResult<PartnerInterviewInfoVO> queryByPartnerId(@RequestParam String partnerId) {
return ResponseResult.success(interviewService.queryByPartnerId(partnerId));
}
}