Authored by lijian

产品参数管理

... ... @@ -7,13 +7,13 @@ module.exports=function(app) {
}
});
/*初始化列表*/
app.post("/erpproduct/brandfolder/list","brandmodel_queryAll");
app.post("/erpproduct/prodcutparm/list","productparm_getAllStandardWithValsBySortId");
/*添加*/
app.post("/erpproduct/brandfolder/add","brandmodel_add");
app.post("/erpproduct/brandfolder/add","productparm_add");
/*修改*/
app.post("/erpproduct/brandfolder/update","brandmodel_update");
app.post("/erpproduct/brandfolder/update","productparm_update");
/*关闭*/
app.post("/erpproduct/brandfolder/close","brandmodel_close");
app.post("/erpproduct/brandfolder/close","productparm_close");
/*开启*/
app.post("/erpproduct/brandfolder/open","brandmodel_open");
app.post("/erpproduct/brandfolder/open","productparm_open");
}
\ No newline at end of file
... ...
module.exports={
namespace:"productparm",
apis:{
getAllStandardWithValsBySortId:{
title:'查询产品参数列表',
url: '/productParm/getAllStandardWithValsBySortId',
params: [
{name: 'sortId', type: 'Number'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
add:{
title:'增加',
url: '/brandSeries/add',
params:[
{name: 'seriesName', type: 'String'},
{name: 'shopsId', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'type', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'seriesBanner', type: 'String'}
]
},
update:{
title:'修改',
url: '/brandSeries/update',
params:[
{name: 'id', type: 'Number'},
{name: 'seriesName', type: 'String'},
{name: 'shopsId', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'type', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'seriesBanner', type: 'String'}
]
},
close:{
title:'关闭',
url: '/brandSeries/close',
params:[
{name: 'id', type: 'Number'},
{name: 'type', type: 'Number'}
]
},
open:{
title:'开启',
url: '/brandSeries/open',
params:[
{name: 'id', type: 'Number'},
{name: 'type', type: 'Number'}
]
}
}
}
\ No newline at end of file
... ...