// c端订单录入/订单列表
import http from "@/apis/axios";
const api = "admin/";
export default {
    // 添加
    add: (data, params) => http(api + "brandcreate", data, "post", params),
    // 删除
    delete: (data, params) => http(api + "branddel", data, "post", params),
    delimportorder: (data, params) => http(api + "delimportorder", data, "post", params),
    
    // 分页查询
    list: (data, params) => http(api + "orderimportlist", data, "post", params),
    // 更新
    update: (data, params) => http(api + "brandedit", data, "post", params),
    // 修改状态
    status: (data, params) => http(api + 'brandstatus', data, 'post', params),
    // 详情
    detail: (data, params) => http(api + "orderimportinfo", data, "post", params),
    // 提交导入数据
    orderimportlist: (data, params) => http(api + "orderimportlist", data, "post", params),
    relationstockbatch: (data, params) => http(api + "relationstockbatch", data, "post", params),
};
