import request from '@/utils/request'

const url = '/adminApi/'

// 活动列表
export const grantList = (data) => request(url + 'grant/list', 'post', data, true)
// 活动详情
export const grantInfo = (data) => request(url + 'grant/info', 'post', data, true)
// 添加活动
export const grantSave = (data) => request(url + 'grant/save', 'post', data, true)
// 删除活动
export const grantDestroys = (data) => request(url + 'grant/destroys', 'post', data, true)
