shop.shopCategory.js
2.9 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
module.exports={
namespace:"shopCategory",
apis:{
selectCategoryNameById:{
title:"根据ID获取店铺名称或者类目名称",
url:"/ShopsSalesCategoryRest/selectNameById",
params:[
{name:"categoryId",type:"Number"}
]
},
shopsCategoryList:{
title:"店铺商品分类列表",
url:"/ShopsSalesCategoryRest/shopsCategoryList",
params:[]
},
insertShopsAndLinkCategory:{
title:"新增店铺商品分类",
url:"/ShopsSalesCategoryRest/insertShopsAndLinkCategory",
params:[
{name:"categoryName",type:"String"}
]
},
updateShopsAndLinkCategory:{
title:"编辑店铺商品分类",
url:"/ShopsSalesCategoryRest/updateShopsAndLinkCategory",
params:[
{name:"categoryId",type:"Number"},
{name:"categoryName",type:"String"}
]
},
deleteShopsCategory:{
title:"删除店铺商品分类",
url:"/ShopsSalesCategoryRest/deleteShopsCategory",
params:[
{name:"categoryId",type:"Number"}
]
},
selectAllProduct:{
title:"获取店铺下该类目所有商品接口",
url:"/ShopsSalesCategoryRest/selectAllProduct",
params:[
{name:"categoryId",type:"Number"},
{name:"productSKN",type:"Number"},
{name:"productName",type:"String"},
{name:"page",type:"Number"}
]
},
selectCheckedProduct:{
title:"获取店铺下该类目已选商品接口",
url:"/ShopsSalesCategoryRest/selectCheckedProduct",
params:[
{name:"categoryId",type:"Number"},
{name:"productSKN",type:"Number"},
{name:"productName",type:"String"},
{name:"page",type:"Number"}
]
},
insertProductLinkCategory:{
title:"单个将商品关联类目",
url:"/ShopsSalesCategoryRest/insertProductLinkCategory",
params:[
{name:"categoryId",type:"Number"},
{name:"productSKN",type:"Number"}
]
},
deleteProductLinkCategory:{
title:"单个将商品取消与类目的关联",
url:"/ShopsSalesCategoryRest/deleteProductLinkCategory",
params:[
{name:"categoryId",type:"Number"},
{name:"productSKN",type:"Number"}
]
},
deleteAllProductLinkedCategory:{
title:"取消所有商品与类目的关联关系",
url:"/ShopsSalesCategoryRest/deleteAllProductLinkedCategory",
params:[
{name:"categoryId",type:"Number"}
]
}
}
}