19 lines
336 B
JavaScript
19 lines
336 B
JavaScript
![]() |
import request from '@/utils/request'
|
||
|
|
||
|
// 查询公告列表
|
||
|
export function listNotice(query) {
|
||
|
return request({
|
||
|
url: '/system/notice/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询公告详细
|
||
|
export function getNotice(noticeId) {
|
||
|
return request({
|
||
|
url: '/system/notice/' + noticeId,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|