fix: resolve frontend build error and order refund bug, add member price filter
This commit is contained in:
@@ -16,6 +16,8 @@ export const userApi = {
|
||||
addLike: (contentId) => request(`/me/likes?content_id=${contentId}`, { method: 'POST' }),
|
||||
removeLike: (contentId) => request(`/me/likes/${contentId}`, { method: 'DELETE' }),
|
||||
getNotifications: (type, page) => request(`/me/notifications?type=${type || 'all'}&page=${page || 1}`),
|
||||
markNotificationRead: (id) => request(`/me/notifications/${id}/read`, { method: 'POST' }),
|
||||
markAllNotificationsRead: () => request('/me/notifications/read-all', { method: 'POST' }),
|
||||
getFollowing: () => request('/me/following'),
|
||||
getCoupons: (status) => request(`/me/coupons?status=${status || 'unused'}`),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user