|
@@ -6,7 +6,10 @@ import com.citu.module.menduner.system.service.resume.OnlineResumeService;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* @eo.api-type http
|
|
@@ -22,11 +25,12 @@ import org.springframework.web.bind.annotation.*;
|
|
|
public class OnlineResumeController {
|
|
|
|
|
|
|
|
|
- private OnlineResumeService onlineResumeService;
|
|
|
+ private OnlineResumeService onlineResumeService;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 解析简历
|
|
|
+ *
|
|
|
* @param fileUrl 被解析的简历URL
|
|
|
* @return
|
|
|
* @eo.name 解析简历
|
|
@@ -35,18 +39,18 @@ public class OnlineResumeController {
|
|
|
* @eo.request-type formdata
|
|
|
*/
|
|
|
@GetMapping("/online/resume/parser")
|
|
|
- public CommonResult<TemResumeResVo> resumeParser(@RequestParam("fileUrl") String fileUrl){
|
|
|
- return onlineResumeService.resumeParser(fileUrl);
|
|
|
+ public CommonResult<TemResumeResVo> resumeParser(@RequestParam("fileUrl") String fileUrl) {
|
|
|
+ return onlineResumeService.resumeParser(fileUrl);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * @param onlineResumeService
|
|
|
+ * @return void
|
|
|
* @eo.name setOnlineResumeService
|
|
|
* @eo.url
|
|
|
* @eo.method get
|
|
|
* @eo.request-type formdata
|
|
|
- * @param onlineResumeService
|
|
|
- * @return void
|
|
|
*/
|
|
|
@Autowired
|
|
|
public void setOnlineResumeService(OnlineResumeService onlineResumeService) {
|