catesize.js
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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.post("/erpproduct/sortsize/ajax/automatic", "catesize_querySizeByNameForSelect");
//************************品类尺码属性管理*****************************
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");
/*修改品类关联尺码属性接口【待验证】*/
app.post("/erpproduct/sortattribute/ajax/automatic", "catesize_querySizeAttributesByName");
};