shop.modularDecorator.js
2.95 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
module.exports = {
namespace: "modularDecorator",
apis: {
findShopDecorator: {
title: "获取店铺装修列表",
url: "/newShopsDecoratorRest/queryShopsDecoratorList",
params: [
{name: "page", type: "Number"},
{name: "size", type: "Number"},
{name: "shopId", type: "Number"},
{name: "supplierId", type: "Number"},
{name: "brandId", type: "Number"},
{name: "openStatus", type: "Number"}, // 开店状态,0: 未开店, 1:已开店
{name: "decoratorStatus", type: "Number"}, // 装修状态: 0: 待装修,1: 待审核,2:审核通过(已发布),3:驳回
{name: "appType", type: "Number"} // 是否BLK,0:有货店铺,1:BLK店铺
]
},
saveDecoratorTemplate: {
title: "存储店铺装修模板",
url: "/newShopsDecoratorRest/saveDecoratorTemplate",
params: [
{name: "shopId", type: "Number"},
{name: "platform", type: "Number"},
{name: "appType", type: "Number"},
{name: "templateName", type: "String"},
{name: "templateType", type: "String"},
{name: "modules", type: "String"},
{name: "flag", type: "Number"}
]
},
findShopDecoratorTemplates: {
title: "查询店铺装修模板列表",
url: "/newShopsDecoratorRest/queryDecoratorTemplateList",
params: [
{name: "shopId", type: "Number"},
{name: "platform", type: "Number"},
{name: "appType", type: "Number"}
]
},
queryDecoratorTemplateResource: {
title: "查询店铺装修内容",
url: "/newShopsDecoratorRest/queryDecoratorModuleRes",
params: [
{name: "templateId", type: "Number"}
]
},
deleteDecoratorTemplate: {
title: "删除装修模板",
url: "/newShopsDecoratorRest/deleteDecoratorTemplate",
params: [
{name: "templateId", type: "Number"}
]
},
publishDecoratorTemplate: {
title: "发布店铺模板",
url: "/newShopsDecoratorRest/publishDecoratorTemplate",
params: [
{name: "templateId", type: "Number"}
]
},
updateDecoratorTemplate: {
title: "更新店铺模板",
url: "/newShopsDecoratorRest/updateDecoratorTemplate",
params: [
{name: "templateId", type: "Number"},
{name: "shopId", type: "Number"},
{name: "platform", type: "Number"},
{name: "appType", type: "Number"},
{name: "templateName", type: "String"},
{name: "modules", type: "String"}
]
}
}
}