Merge remote-tracking branch 'origin/cc_20230520_partner' into cc_20230520_partner

This commit is contained in:
zhangchenbiao
2023-06-12 10:16:52 +08:00
16 changed files with 630 additions and 146 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));
}
}