shop.shopDecoration.js
1.68 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
module.exports={
namespace:"shopDecoration",
apis:{
/******************店铺装修列表********************/
findShopsDecorator:{
title:"店铺装修列表",
url:"/ShopsDecoratorRest/findShopsDecorator",
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number'},
{name: 'shopsId', type: 'number'},
{name: 'checkStatus', type: 'number'},
{name: 'supplierId', type: 'number'},
{name: 'brandId', type: 'number'}
]
},
closeShops:{
title:"关店",
url:"/ShopsRest/closeShops",
params: [
{name:"shopsId",type:"Number"}
]
},
openShops:{
title:"开店",
url:"/ShopsRest/openShops",
params: [
{name:"shopsId",type:"Number"}
]
},
/*****************店铺装修详情*********************/
findShopsDecoratorDetail:{
title:"店铺装修详情",
url:"/ShopsDecoratorRest/findShopsDecoratorDetail",
params:[
{name: 'shopsId', type: 'Number'}
]
},
saveShopsDecorator:{
title:"店铺装修详情保存",
url:"/ShopsDecoratorRest/saveShopsDecorator",
params:[
{name: 'shopsId', type: 'Number'},
{name: 'submitStatus', type: 'Number'},
{name: 'platform', type: 'String'},
{name: 'templateType', type: 'String'},
{name: 'resources', type: 'String'}
]
},
findHotProductList:{
title:"查询热销商品",
url:"/ShopsDecoratorRest/findHotProductList",
params:[
{name: 'shopsId', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
findNewProductList:{
title:"查询最新商品",
url:"/ShopsDecoratorRest/findNewProductList",
params:[
{name: 'shopsId', type: 'Number'},
{name: 'size', type: 'Number'}
]
}
}
}