baserule.catesize.js
1.47 KB
module.exports=function(app) {
/**/
app.get("/erpproduct/sortsize/index","baserule.CateSize","porattr_queryProductSortListByConf",function(pros){
this.$extend={
moduleName:'商品基础规则',
pageName:'品类关联尺码列表',
data:pros.data
}
})
app.post("/erpproduct/sortsize/ajax/index","catesize_querySizeListBySortId");
/*添加尺码接口【验证通过】*/
app.post("/erpproduct/sortsize/ajax/add","catesize_addSortSize");
/*删除单个品类尺码接口【待验证】*/
app.post("/erpproduct/sortsize/ajax/delete","catesize_deleteSortSize");
/*修改品类尺码排序接口*/
app.post("/product/updateSortSize","catesize_updateSortSize");
//************************品类尺码属性管理*****************************
app.get("/erpproduct/sortattribute/index","baserule.CateSizeAttr","porattr_queryProductSortListByConf",function(pros){
this.$extend={
moduleName:'商品基础规则',
pageName:'品类尺码属性',
data:pros.data
}
});
/*获取品类关联尺码属性列表【验证通过】*/
app.post("/erpproduct/sortattribute/ajax/index","catesize_queryList");
/*添加品类关联尺码属性接口【待验证】*/
app.post("/erpproduct/sortattribute/ajax/add","catesize_add");
/*删除品类关联尺码属性接口【待验证】*/
app.post("/erpproduct/sortattribute/ajax/delete","catesize_delete");
/*修改品类关联尺码属性接口【待验证】*/
app.post("/sortAttribute/updateOrderBy","catesize_updateOrderBy");
}