You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
352 B
20 lines
352 B
import request from '@/utils/request'
|
|
|
|
export function getNoticeList(params) {
|
|
return request({
|
|
url: 'api/notice/initNotice',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 发布
|
|
export function add(data) {
|
|
return request({
|
|
url: 'api/notice/create',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export default { add, getNoticeList }
|