import http from "@/apis/axios";
const api = "admin/";

export default {
  changeinfo: (data, params) => http(api + "dachangeinfo", data, "post", params),
  changestatus: (data, params) => http(api + "dachangestatus", data, "post", params),


  list: (data, params) => http(api + "cgdlist", data, "post", params),
  create: (data, params) => http(api + "dachangeadd", data, "post", params),
  // 获取全部账户列表
  accountall: (data, params) => http(api + 'userCompanyBasicList', data, 'post', params),

  cgdgetchangesupplierlist: (data, params) => http(api + "dachangelist", data, "post", params),
  detail: (data, params) => http(api + "cgdinfo", data, "post", params),
  saleDetail: (data, params) => http(api + "saleinfo", data, "post", params),
}
