Initial project commit

This commit is contained in:
2026-05-09 16:40:29 +08:00
commit 02b0259a9e
267 changed files with 54891 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import { get, post, del } from "@/utils/request";
export const getComments = (spotId, params) => get(`/spots/${spotId}/comments`, params);
export const createComment = (spotId, data) => post(`/spots/${spotId}/comments`, data);
export const deleteComment = (commentId) => del(`/comments/${commentId}`);
export const reportComment = (commentId, data) => post(`/comments/${commentId}/report`, data);