23 lines
536 B
TypeScript
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',
|
|
}),
|
|
}
|