feat: 处理添加表情偶现失败的问题

This commit is contained in:
tim
2025-08-03 20:12:44 +08:00
parent d70433ff93
commit 354cc7cd17
3 changed files with 6 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ public class ReactionController {
}
@PostMapping("/posts/{postId}/reactions")
@Transactional
public ResponseEntity<ReactionDto> reactToPost(@PathVariable Long postId,
@RequestBody ReactionRequest req,
Authentication auth) {
@@ -41,7 +40,6 @@ public class ReactionController {
}
@PostMapping("/comments/{commentId}/reactions")
@Transactional
public ResponseEntity<ReactionDto> reactToComment(@PathVariable Long commentId,
@RequestBody ReactionRequest req,
Authentication auth) {