公告通知

This commit is contained in:
zjf committed 2025-07-01 18:50:51 +08:00
1 parent b78eb32b75
commit f93f7c0c06
4 files changed
+165 -263

No files matched your search

+2
View File
@@ -33,3 +33,5 @@ export { default as flowStatisticsApi } from "./flowStatistics"
export { default as individualOrderApi } from "./individualOrder"
export { default as hardApi } from "./hard"
export { default as noticeApi } from "./notice"
+23
View File
@@ -0,0 +1,23 @@
import request from '@/sheep/utils/request'
export default {
// 公告分页列表
getNoticePage: (params: { current: number; size: number }) =>
request({
url: '/integrated/notice/app/page',
method: 'GET',
params,
}),
// 公告详情
getNoticeDetail: (id: string) =>
request({
url: `/integrated/notice/app/${id}`,
method: 'GET',
}),
// 增加浏览量
addNoticeView: (id: string) =>
request({
url: `/integrated/notice/app/view/${id}`,
method: 'POST',
}),
}