import { get, post } from "@/utils/request"; export const getNotifications = (params) => get("/notifications/", params); export const getUnreadCount = () => get("/notifications/unread-count"); export const markAllRead = () => post("/notifications/read-all"); export const markRead = (id) => post(`/notifications/${id}/read`);