category.category.js
2.47 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
module.exports={
namespace:"category",
apis:{
queryAllProductSortList:{
title:'获取所有品类',
url: '/product/queryAllProductSortList',
params: [
{name: 'status', type: 'Number'}
]
},
addProductSort:{
title:'商品管理>【添加品类】ajax请求接口',
url: '/product/addProductSort',
params: [
{name: 'sortName', type: 'String'},
{name: 'sortInitials', type: 'String'},
{name:'firstSortId', type: 'Number'},
{name:'secondSortId', type:'Number'},
{name:'threeSortId', type:'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'gender', type: 'Number'},
{name: 'sortIco', type: 'String'},
{name: 'taxRate', type: 'number'}
]
},
getProductSort:{
title:'获取商品类目',
url:'/product/getProductSort',
params: [
{name: 'param', type: 'Number'}
]
},
updateProductSort:{
title:'更新商品类目',
url: '/product/updateProductSort',
params: [
{name: 'id', type: 'Number'},
{name: 'sortName', type: 'String'},
{name: 'sortInitials', type: 'String'},
{name:'firstSortId', type: 'Number'},
{name:'secondSortId', type:'Number'},
{name:'threeSortId', type:'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'gender', type: 'Number'},
{name: 'sortIco', type: 'String'},
{name: 'taxRate', type: 'number'},
{name: 'compositeRate', type: 'number'},
{name: 'netWeight', type: 'number'},
{name: 'grossWeight', type: 'number'}
]
},
publishProductSort:{
title:'publishProductSort',
url: '/product/publishProductSort',
params: [
{name: 'param', type: 'Number'}
]
},
closeProductSort:{
title:'closeProductSort',
url: '/product/closeProductSort',
params: [
{name: 'param', type: 'Number'}
]
},
delProductSort:{
title:'delProductSort',
url: '/product/delProductSort',
params: [
{name: 'param', type: 'Number'}
]
}
}
}