import request from '@/utils/request'

const url = '/adminApi/news/'

// 列表
export const newsList = (data) => request(url + 'list', 'post', data, true)
// 删除
export const newsDestroys = (data) => request(url + 'destroys', 'post', data, true)
// 详情
export const newsInfo = (data) => request(url + 'info', 'post', data, true)
// 新增 编辑
export const newsSave = (data) => request(url + 'save', 'post', data, true)
