/**
 * 消息公告
 */

import request from '@/utils/request'
// 获取公告列表
export const getNoticesList = (params) => request.basic.get('/api/v1/notices', params)
// 获取条目
export const getNotices = (id) => request.basic.get(`/api/v1/notices/${id}`)
// 添加公告
export const createNotices = (params) => request.basic.post('/api/v1/notices', params)
// 更新公告
export const updateNotices = (id, params) => request.basic.put(`/api/v1/notices/${id}`, params)
// 删除公告
export const delNotices = (id) => request.basic.delete(`/api/v1/notices/${id}`)
