category.category.js
1.96 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
module.exports={
namespace:"category",
apis:{
queryAllProductSortList:{
title:'获取所有品类',
url: '/product/queryAllProductSortList',
},
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'}
]
},
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'}
]
},
publishProductSort:{
title:'publishProductSort',
url: '/product/publishProductSort',
params: [
{name: 'param', type: 'Number'}
]
},
closeProductSort:{
title:'closeProductSort',
url: '/product/closeProductSort',
params: [
{name: 'param', type: 'Number'}
]
}
}
}