This commit is contained in:
qsh
2023-03-21 00:53:28 +08:00
parent 953377e655
commit 955687d473
171 changed files with 7149 additions and 7341 deletions

View File

@@ -1,4 +1,4 @@
import request from '@/utils/request'
import request from '@/utils/request';
// 查询公告列表
export function listNotice(query) {
@@ -6,7 +6,7 @@ export function listNotice(query) {
url: '/system/notice/list',
method: 'get',
params: query
})
});
}
// 查询公告详细
@@ -14,7 +14,7 @@ export function getNotice(noticeId) {
return request({
url: '/system/notice/' + noticeId,
method: 'get'
})
});
}
// 新增公告
@@ -23,7 +23,7 @@ export function addNotice(data) {
url: '/system/notice',
method: 'post',
data: data
})
});
}
// 修改公告
@@ -32,7 +32,7 @@ export function updateNotice(data) {
url: '/system/notice',
method: 'put',
data: data
})
});
}
// 删除公告
@@ -40,5 +40,5 @@ export function delNotice(noticeId) {
return request({
url: '/system/notice/' + noticeId,
method: 'delete'
})
}
});
}