Initial project commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import { get, post } from "@/utils/request";
|
||||
|
||||
export const rateSpot = (spotId, data) => post(`/spots/${spotId}/rate`, data);
|
||||
export const getSpotRatings = (spotId, params) => get(`/spots/${spotId}/ratings`, params);
|
||||
Reference in New Issue
Block a user