import request from '@/utils/request'

const url = '/adminApi/banner/'

// 轮播列表
export const bannerList = (data) => request(url + 'list', 'post', data, true)
// 轮播删除
export const bannerDestroys = (data) => request(url + 'destroys', 'post', data, true)
// 轮播新增&编辑
export const bannerSave = (data) => request(url + 'save', 'post', data, true)