import request from '@/utils/request'

export function index(params){
  return request({
    method:'get',
    url:'/api/admin/strategy/index',
    params
  })
}

export function store(data){
  return request({
    method:'post',
    url:'/api/admin/strategy/store',
    data
  })
}

export function save(data){
  return request({
    method:'post',
    url:'/api/admin/strategy/save',
    data
  })
}

export function destroy(data){
  return request({
    method:'post',
    url:'/api/admin/strategy/destroy',
    data
  })
}
