shootMeter.index.js
5.91 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
/**
* Created by yoho on 2016/6/20.
* 拍摄复尺 接口定义
*/
module.exports = {
namespace: "shootMeter",
apis: {
/*************************************模特管理*************************************/
queryModelList: {
title: "获取所有模特数据",
url: "/model/queryModelList",
params: {
englishName: {type: String},
modelName: {type: String},
status: {type: Number},
modelType: {type: Number},
page: {type: Number},
size: {type: Number}
}
},
addModel: {
title: "新增模特",
url: "/model/addModel",
params: {
englishName: {type: String},
height: {type: Number},
dressSize: {type: String},
modelName: {type: String},
modelType: {type: Number},
nationality: {type: String},
status: {type: Number},
shoeSize: {type: String},
vitalStatistics: {type: String},
weight: {type: Number},
avatar: {type: String},
modelCard: {type: String}
}
},
updateModel: {
title: "编辑模特",
url: "/model/updateModel",
params: {
id: {type: Number},
englishName: {type: String},
height: {type: Number},
dressSize: {type: String},
modelName: {type: String},
modelType: {type: Number},
nationality: {type: String},
status: {type: Number},
shoeSize: {type: String},
vitalStatistics: {type: String},
weight: {type: Number},
avatar: {type: String},
modelCard: {type: String}
}
},
delModel: {
title: "删除模特",
url: "/model/delModel",
params: {
id: {type: Number}
}
},
/*************************************尺码测量管理*************************************/
queryProdSizeList: {
title: "获取所有尺码测量数据",
url: "/productSize/queryProdSizeList",
params: {
page: {type: Number},
productSkn: {type: Number},
brandId: {type: Number},
productSku: {type: Number},
maxSortId: {type: Number},
arriveStartTime: {type: Number},
arriveEndTime: {type: Number},
isMeasure: {type: String}
}
},
saveProdSizeInfo: {
title: "保存尺码测量数据",
url: "/productSize/saveProdSizeInfo",
params: {
productSkn: {type: Number},
sizeInfoList: {type: String},
productSizeReferList: {type: String},
noMeasureIds: {type: String}
}
},
getSelectItems: {
title: "获取品牌选项",
url: "/brand/getSelectItems",
params: {}
},
/*************************************试穿信息管理*************************************/
queryProdExtraList: {
title: "获取所有试穿数据",
url: "/productExtraInfo/queryProdExtraList",
params: {
page: {type: Number},
size: {type: Number},
productSkn: {type: Number},
productSku: {type: Number},
productName: {type: String}
}
},
queryProdExtraInfo: {
title: "获取单个skn对应的试穿信息",
url: "/productExtraInfo/queryProdExtraInfo",
params: {
productSkn: {type: Number}
}
},
saveProdExtraInfo: {
title: "添加试穿信息",
url: "/productExtraInfo/saveProdExtraInfo",
params: {
productSkn: {type: Number},
productModelTry: {type: String}
}
},
/*************************************拍摄要求管理*************************************/
queryShootRequireList: {
title: "获取所有拍摄要求数据",
url: "/shootRequire/queryShootRequireList",
params: {
page: {type: Number},
size: {type: Number},
type: {type: Number},
status: {type: Number}
}
},
saveShootRequire: {
title: "保存,修改,删除拍摄要求",
url: "/shootRequire/saveShootRequire",
params: {
id: {type: Number},
type: {type: Number},
status: {type: Number},
name: {type: String}
}
},
/************************************产品图片管理*************************************/
queryProductPhotoList: {
title: "产品图片数据列表",
url: "/productPhoto/queryProductPhotoList",
params: {
page: {type: Number},
size: {type: Number},
productSkn: {type: Number},
productSku: {type: Number},
productSkc: {type: Number},
startTime: {type: Number},
endTime: {type: Number}
}
},
addProductBatchPhoto: {
title: "添加产品图片",
url: "/productPhoto/addProductBatchPhoto",
params: {
productSkn: {type: Number},
productSku: {type: Number},
productSkc: {type: Number},
ids: {type: String},
productPhotoAddStrList: {type: String}
}
}
}
};