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
+7
View File
@@ -0,0 +1,7 @@
import { get, post, del } from "@/utils/request";
export const getFavorites = (params) => get("/favorites", params);
export const addFavorite = (spotId) => post(`/favorites/${spotId}`);
export const removeFavorite = (spotId) => del(`/favorites/${spotId}`);