Akane1217 | 65b61a7 | 2025-05-17 13:52:25 +0800 | [diff] [blame^] | 1 | import { api } from './auth'; |
2 | |||||
3 | export const likePostComment = (commentId) => { | ||||
4 | return api.post(`/help/comments/${commentId}/like`); | ||||
5 | }; | ||||
6 | |||||
7 | export const getCommentReplies = (commentId) => { | ||||
8 | return api.get(`/help/comments/${commentId}/replies`); | ||||
9 | }; | ||||
10 | |||||
11 | export const addCommentReply = (commentId, replyData) => { | ||||
12 | return api.post(`/help/comments/${commentId}/replies`, replyData); | ||||
13 | }; |