Parcourir la source

1、增加撤销投递简历接口

rayson il y a 1 an
Parent
commit
0fde56a336

+ 8 - 0
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/app/jobhunt/job/AppJobCvRelController.java

@@ -68,6 +68,14 @@ public class AppJobCvRelController {
         return success(jobCvRelService.send(reqVO));
     }
 
+    @PostMapping("/withdraw")
+    @Operation(summary = "撤销投递简历(已查看简历无法撤回)")
+    @Idempotent(keyResolver = UserIdempotentKeyResolver.class)
+    public CommonResult<Boolean> withdraw(@RequestParam("id") Long id) {
+        jobCvRelService.withdraw(id);
+        return success(true);
+    }
+
     @PreAuthenticated
     @GetMapping("/hire/page")
     @Operation(summary = "众聘分享-获取邀请投递的职位信息")