Files
pj_h5_cloud/src/sheep/api/notice.ts
T
2025-07-01 18:50:51 +08:00

23 lines
536 B
TypeScript

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',
}),
}