import config from "../config/index";
let className = 'materialinfo'
let baseUrl = `${config.baseUrl}/${className}`
export default {
    [className]: {
        'getMaterialList': {
            url: `${baseUrl}/getMaterialList`,
            method: "post",
        },
        'getMaterialById': {
            url: `${baseUrl}/getMaterialById`,
            method: "get",
        },
        // 'updateMaterial': {
        //     url: `${baseUrl}/updateMaterial`,
        //     method: "post",
        // },
    },
    // 品类接口
    category: {
        query: {
            url: "/gdep-mdm/category/query",
            method: "post"
        }
    },
    // 数据字典
    dict: {
        dictionaryList: {
            url: "/gdep-system/dict/dictionaryList",
            method: "post"
        }
    },
    modelingtask: {
        materialDetail: {
            url: "/gdep-plm/modelingtask/materialDetail",
            method: "get"
        }
    },
    info: {
        updateMaterial: {
            url: "/gdep-mdm/materialinfo/updateMaterial",
            method: "post"
        }
    },
}