|
@@ -0,0 +1,32 @@
|
|
|
+package com.citu.module.menduner.system.controller.admin.resume;
|
|
|
+
|
|
|
+import com.citu.framework.common.pojo.CommonResult;
|
|
|
+import com.citu.module.menduner.system.controller.base.resume.resumesdk.TemResumeResVo;
|
|
|
+import com.citu.module.menduner.system.service.resume.OnlineResumeService;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+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;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
+@Tag(name = "管理后台 - 简历识别")
|
|
|
+@RestController
|
|
|
+@RequestMapping("/menduner/system/online/resume")
|
|
|
+@Validated
|
|
|
+@Slf4j
|
|
|
+public class OnlineResumeController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private OnlineResumeService onlineResumeService;
|
|
|
+
|
|
|
+ @GetMapping("/parser")
|
|
|
+ public CommonResult<TemResumeResVo> resumeParser(@RequestParam("fileUrl") String fileUrl) {
|
|
|
+ return onlineResumeService.resumeParser(fileUrl);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|