加注释喵

This commit is contained in:
KilLze
2026-01-02 11:40:14 +08:00
parent 61d100fac0
commit 0762b84c36
3 changed files with 6 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ public class PostController {
* @param postId 动态ID
* @return 动态对象
*/
@PostMapping("/{postId}")
@GetMapping("/{postId}")
public Result<PostEditVO> getPostById(@PathVariable Long postId) {
PostEditVO postEditVO = postService.getPostForEdit(postId);
return Result.success(ResultCode.SUCCESS,"查询成功", postEditVO);