Skip to content

Commit

Permalink
fix the apply interface
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Dec 16, 2023
1 parent 3fae7aa commit 69deb61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public BaseResponse allByAddress(@RequestParam String address,
* 投递职位 todo
*/
@PostMapping("/apply")
public BaseResponse apply(@ModelAttribute ApplyVo applyVo) {
public BaseResponse apply(@RequestBody ApplyVo applyVo) {
hireService.apply(applyVo.getHireId(), applyVo.getFile());
return BaseResponse.successWithData(null);
}
Expand Down

0 comments on commit 69deb61

Please sign in to comment.