import http from '@/apis/axios'
const api = 'admin/'
export default {
 
  // 查询列表
  list: (data, params) => http(api + 'video', data, 'post', params),
  // 记录物流
  post: (data, params) => http(api + 'video', data, 'post', params),
  // 更新状态
  change: (data, params) => http(api + 'Change', data, 'post', params),
  //删除项目
  delete: (data, params) => http(api + 'Delete', data, 'post', params),
 
   // 编辑视频
   update: (data, params) => http(api + 'Edit', data, 'post', params),
   // 添加
   add: (data, params) => http(api + 'Create', data, 'post', params),
   // 详情
   detail: (data, params) => http(api + 'Read', data, 'post', params),

}