Showing
1 changed file
with
99 additions
and
0 deletions
server/interface/sortsize.js
0 → 100644
1 | +exports.domain =require('../config/common.js').domain; | ||
2 | + | ||
3 | +//路由配置 | ||
4 | +exports.res = [ | ||
5 | + { | ||
6 | + route: '/erpproduct/sortsize/index', | ||
7 | + method: 'GET', | ||
8 | + view: 'pages/sortsize/index', | ||
9 | + url: '/product/queryProductSortListByConf', | ||
10 | + data: { | ||
11 | + addTitle:"添加尺码", | ||
12 | + title1:"品类关联尺码", | ||
13 | + title2:"品类关联尺码列表", | ||
14 | + model:'{"name":"尺码"}', | ||
15 | + gridurl:"/erpproduct/sortsize/ajax/index" | ||
16 | + }, | ||
17 | + params:[{ | ||
18 | + name: 'status', | ||
19 | + type: 'String', | ||
20 | + def:1 | ||
21 | + }], | ||
22 | + src:'/sortsize/index' | ||
23 | + },{ | ||
24 | + route: '/erpproduct/sortsize/ajax/index', | ||
25 | + method: 'POST', | ||
26 | + url: '/product/querySizeListBySortId', | ||
27 | + params:[ | ||
28 | + {name:"sortId",type:"number"} | ||
29 | + ] | ||
30 | + }, | ||
31 | + {//添加尺码接口【验证通过】 | ||
32 | + route: '/erpproduct/sortsize/ajax/add', | ||
33 | + method: 'POST', | ||
34 | + url: '/product/addSortSize', | ||
35 | + params:[ | ||
36 | + {name:"sortId",type:"number"}, | ||
37 | + {name:"sizeId",type:"number"}, | ||
38 | + {name:"orderBy",type:"number"} | ||
39 | + ] | ||
40 | + }, | ||
41 | + | ||
42 | + {//删除单个品类尺码接口【待验证】 | ||
43 | + route: '/erpproduct/sortsize/ajax/delete', | ||
44 | + method: 'POST', | ||
45 | + url: '/product/deleteSortSize', | ||
46 | + params:[ | ||
47 | + {name:"sortId",type:"number"}, | ||
48 | + {name:"sizeId",type:"number"} | ||
49 | + ] | ||
50 | + }, | ||
51 | + //************************品类尺码属性管理***************************** | ||
52 | + { | ||
53 | + route: '/erpproduct/sortattribute/index', | ||
54 | + method: 'GET', | ||
55 | + view: 'pages/sortsize/index', | ||
56 | + url: '/product/queryProductSortListByConf', | ||
57 | + data: { | ||
58 | + addTitle:"添加尺码属性", | ||
59 | + title1:"品类关联实物测量属性", | ||
60 | + title2:"品类关联实物测量属性列表", | ||
61 | + model:'{"name":"尺码属性"}', | ||
62 | + gridurl:"/erpproduct/sortattribute/ajax/index" | ||
63 | + }, | ||
64 | + params:[{ | ||
65 | + name: 'status', | ||
66 | + type: 'String', | ||
67 | + def:1 | ||
68 | + }], | ||
69 | + src:'/sortsize/attri' | ||
70 | + },{ | ||
71 | + //获取品类关联尺码属性列表【验证通过】 | ||
72 | + route: '/erpproduct/sortattribute/ajax/index', | ||
73 | + method: 'POST', | ||
74 | + url: '/sortAttribute/queryList', | ||
75 | + params:[ | ||
76 | + {name:"page",type:"number"}, | ||
77 | + {name:"size",type:"number"}, | ||
78 | + {name:"sortId",type:"number"} | ||
79 | + ] | ||
80 | + },{//删除品类关联尺码属性接口【待验证】 | ||
81 | + route: '/erpproduct/sortattribute/ajax/delete', | ||
82 | + method: 'POST', | ||
83 | + url: '/sortAttribute/delete', | ||
84 | + params:[ | ||
85 | + {name:"sortId",type:"number"}, | ||
86 | + {name:"attributeId",type:"number"} | ||
87 | + ] | ||
88 | + }, | ||
89 | + {//添加品类关联尺码属性接口【待验证】 | ||
90 | + route: '/erpproduct/sortattribute/ajax/add', | ||
91 | + method: 'POST', | ||
92 | + url: '/sortAttribute/add', | ||
93 | + params:[ | ||
94 | + {name:"sortId",type:"number"}, | ||
95 | + {name:"attributeId",type:"number"}, | ||
96 | + {name:"orderBy",type:"number"} | ||
97 | + ] | ||
98 | + } | ||
99 | +] |
-
Please register or login to post a comment