From 6551fb939c29dbfac87b78ffd39272fabd3c82d2 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Wed, 10 Apr 2024 11:10:43 +0800
Subject: [PATCH] 富文本上传路径修改
---
src/api/backManage/notice.js | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/api/backManage/notice.js b/src/api/backManage/notice.js
index cda746e..585c1b3 100644
--- a/src/api/backManage/notice.js
+++ b/src/api/backManage/notice.js
@@ -1,9 +1,11 @@
import request from '@/utils/request'
-export function getNoticeList() {
+export function getNoticeList(params) {
return request({
url: '/system/notice/noticeList',
- method: 'get'
+ method: 'get',
+ params: params
+
})
}
@@ -38,3 +40,11 @@
})
}
+export function upload(data) {
+ return request({
+ url: '/system/common/uploadFile',
+ method: 'post',
+ data
+ })
+}
+
--
Gitblit v1.9.2