// 物业管理员
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),
    // 分页查询
    list: (data, params) => http(api + "brandlist", data, "post", params),
    // 更新
    update: (data, params) => http(api + "confirmimportdata", data, "post", params),
    // 修改状态
    status: (data, params) => http(api + 'brandstatus', data, 'post', params),
    // 详情
    detail: (data, params) => http(api + "orderimportinfo", data, "post", params),
    // 线上商品详情
    good_detail: (data, params) => http(api + "getonlinegoodinfo", data, "post", params),
    // 获取销售渠道备选数据
    sourceList: (data, params) => http(api + "getsourcedata", data, "post", params),
    //验证售价
    salegetprice: (data, params) => http(api + "salegetprice", data, "post", params),
    // 线上商品获取活动
    goods_active: (data, params) => http(api + "actquery", data, "post", params),
};
