upd
This commit is contained in:
4
frontend/src/api/review.js
Normal file
4
frontend/src/api/review.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import http from './http';
|
||||
|
||||
export const createReview = (data) => http.post('/reviews', data);
|
||||
export const listReviewsByProduct = (productId) => http.get(`/reviews/product/${productId}`);
|
||||
Reference in New Issue
Block a user