import {request} from '@/service/ajax' const newsUrl = '/api/news/' // 获取基本信息 export const getNotices = (data) => request(newsUrl + 'notices', 'post', { ...data },false) export const getNoticeInfo = (data) => request(newsUrl + 'notice', 'post', { ...data },false) export const setRead = (data) => request(newsUrl + 'read', 'post', { ...data },false) export const noticeDel = (data) => request(newsUrl + 'del', 'post', { ...data },false)