From 93eb6650f02a734e91584c7cacad6aea8fcf6a31 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期二, 05 十二月 2023 09:22:47 +0800
Subject: [PATCH] 机构用户

---
 src/api/backManage/notice.js |   34 +++++++++++++++++++++++++++++++++-
 1 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/src/api/backManage/notice.js b/src/api/backManage/notice.js
index 014c25e..cda746e 100644
--- a/src/api/backManage/notice.js
+++ b/src/api/backManage/notice.js
@@ -2,7 +2,39 @@
 
 export function getNoticeList() {
     return request({
-        url: 'api/system/notice/noticeList',
+        url: '/system/notice/noticeList',
         method: 'get'
     })
 }
+
+export function addNotice(data) {
+    return request({
+        url: '/system/notice/addNotice',
+        method: 'post',
+        data: data
+    })
+}
+
+export function getNoticeDetail(params) {
+    return request({
+        url: '/system/notice/getNoticeById',
+        method: 'get',
+        params: params
+    })
+}
+
+export function editNotice(params) {
+    return request({
+        url: `/system/notice/editNotice`,
+        method: 'put',
+        data: params
+    })
+}
+
+export function delNotice(data) {
+    return request({
+        url: `/system/notice/remove/` + data.id,
+        method: 'delete'
+    })
+}
+

--
Gitblit v1.9.2