From 70d58992dfed107ff4fa0d4b2b336dcf731ef14d Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 10 四月 2024 10:08:04 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_xp'

---
 src/api/platform/notify.js |   61 ++++++++++++++++++++++++++++++
 1 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/notify.js b/src/api/platform/notify.js
new file mode 100644
index 0000000..6b0a016
--- /dev/null
+++ b/src/api/platform/notify.js
@@ -0,0 +1,61 @@
+import axios from "./request";
+
+// 鑾峰彇閫氱煡鍒嗛〉
+export const getNotifys = (params) => {
+    return axios({
+        url: "/notify/page",
+        method: "GET",
+        params: params
+    })
+}
+
+// 鑾峰彇閫氱煡鍒楄〃
+export const getNotifyList = () => {
+    return axios({
+        url: "/notify/list",
+        method: "GET"
+    })
+}
+
+// 閫氳繃id鑾峰彇閫氱煡
+export const getNotifyById = (params) => {
+    return axios({
+        url: "/notify/" + params,
+        method: "GET"
+    })
+}
+
+// 閫氳繃id鍒犻櫎閫氱煡
+export const deleteNotifyById = (params) => {
+    return axios({
+        url: "/notify/" + params,
+        method: "DELETE"
+    })
+}
+
+// 鎵归噺鍒犻櫎閫氱煡
+export const deleteNotifyByIds = (params) => {
+    return axios({
+        url: "/notify/batch",
+        method: "DELETE",
+        data: params
+    })
+}
+
+// 淇敼閫氱煡
+export const editNotify = (params) => {
+    return axios({
+        url: "/notify/",
+        method: "PUT",
+        data: params
+    })
+}
+
+// 娣诲姞閫氱煡
+export const addNotify = (params) => {
+    return axios({
+        url: "/notify/",
+        method: "POST",
+        data: params
+    })
+}

--
Gitblit v1.8.0