45 lines
831 B
JavaScript
45 lines
831 B
JavaScript
/*
|
|
* @Author:
|
|
* @Mail:
|
|
* @Date: 2022-01-21 16:55:02
|
|
* @LastEditTime: 2022-06-10 19:23:05
|
|
* @LastEditors:
|
|
* @FilePath: /web_admin/src/api/upManagement/notice.js
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
// 获取系统公告列表
|
|
export function getNoticeList(data) {
|
|
return request({
|
|
url: '/api/web/uploader/notice/list',
|
|
method: 'post',
|
|
filterParam: true,
|
|
data
|
|
})
|
|
}
|
|
|
|
// 更新
|
|
export function setNoticeList(data) {
|
|
return request({
|
|
url: '/api/web/uploader/notice/update',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 删除
|
|
export function delNoticeList(data) {
|
|
return request({
|
|
url: '/api/web/uploader/notice/del',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 添加
|
|
export function addNoticeList(data) {
|
|
return request({
|
|
url: '/api/web/uploader/notice/add',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|