baserule.color.js
1 KB
module.exports={
namespace:"color",
apis:{
queryProductColors:{
title:'获取颜色列表',
url: '/productColor/queryProductColors'
},
queryProductColor:{
title:'获取单个颜色',
url:"/productColor/queryProductColor",
params:[
{name: 'param', type: 'Number'}//,
// {name: 'id', type: 'Number'}
]
},
addProductColor:{
title:'新增颜色',
url:"/productColor/addProductColor",
params:[
{name: 'colorName', type: 'String'},
{name: 'colorCode', type: 'String'},
{name: 'colorValue', type: 'String'}
]
},
updateProductColor:{
title:'修改颜色',
url:"/productColor/updateProductColor",
params:[
{name: 'id', type: 'Number'},
{name: 'colorName', type: 'String'},
{name: 'colorCode', type: 'String'},
{name: 'colorValue', type: 'String'}
]
}
}
}