init:岗位管理代码初始化

main
SondonYong 2025-10-31 17:48:44 +08:00
parent 01804ab0d5
commit b654af6045
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class PostController {
@GetMapping("/getInfoById") @GetMapping("/getInfoById")
public SingleResponse<PostCO> getInfoById(@RequestParam(value = "id") String id) { public SingleResponse<PostCO> getInfoById(@RequestParam(value = "id") String id) {
Long idLong = Long.parseLong(id); Long idLong = Long.parseLong(id);
return SingleResponse.of(new PostCO()); return postService.getInfoById(idLong);
} }
@ApiOperation("删除") @ApiOperation("删除")