We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22698bf commit 83733abCopy full SHA for 83733ab
src/main/java/com/back/domain/myhistory/controller/MyHistoryController.java
@@ -74,5 +74,14 @@ public RsData<MyHistoryCommentGoResponseDto> goFromComment(
74
var body = myHistoryService.getPostLinkFromMyComment(userId, commentId);
75
return RsData.successOf(body);
76
}
77
+
78
+ @GetMapping("/likes/{id}")
79
+ public RsData<com.back.domain.myhistory.dto.MyHistoryPostGoResponseDto> goFromLikedPost(
80
+ @AuthenticationPrincipal(expression = "id") Long userId,
81
+ @PathVariable("id") Long postId
82
+ ) {
83
+ var body = myHistoryService.getPostLinkFromMyLikedPost(userId, postId);
84
+ return RsData.successOf(body);
85
+ }
86
87
0 commit comments