productParm.js
1004 Bytes
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
module.exports={
namespace:"productparm",
apis:{
getAllStandardWithValsBySortId:{
title:'查询产品参数列表',
url: '/standard/getAllStandardWithValsBySortId',
params: [
{name: 'sortId', type: 'Number'}
]
},
add:{
title:'增加',
url: '/standard/addStandard',
params:[
{name: 'standardName', type: 'String'},
{name: 'standardSortId', type: 'Number'},
{name: 'sortId', type: 'Number'},
{name: 'orderBy', type: 'Number'}
]
},
update:{
title:'修改',
url: '/standard/updateStandard',
params:[
{name: 'id', type: 'Number'},
{name: 'standardName', type: 'String'},
{name: 'standardSortId', type: 'Number'},
{name: 'orderBy', type: 'Number'}
]
},
del:{
title:'删除',
url: '/standard/delStandard',
params:[
{name: 'id', type: 'Number'}
]
}
}
}