feat 新增接口描述 docs页面 ,新增S3 图片get upload 操作,整理代码
fix
This commit is contained in:
@@ -24,31 +24,31 @@ def design(request_data: DesignModel):
|
|||||||
"basic": {
|
"basic": {
|
||||||
"body_point_test": {
|
"body_point_test": {
|
||||||
"waistband_right": [
|
"waistband_right": [
|
||||||
336,
|
203,
|
||||||
264
|
249
|
||||||
],
|
],
|
||||||
"hand_point_right": [
|
"hand_point_right": [
|
||||||
350,
|
229,
|
||||||
303
|
343
|
||||||
],
|
],
|
||||||
"waistband_left": [
|
"waistband_left": [
|
||||||
245,
|
119,
|
||||||
274
|
248
|
||||||
],
|
],
|
||||||
"hand_point_left": [
|
"hand_point_left": [
|
||||||
219,
|
97,
|
||||||
315
|
343
|
||||||
],
|
],
|
||||||
"shoulder_left": [
|
"shoulder_left": [
|
||||||
227,
|
108,
|
||||||
155
|
107
|
||||||
],
|
],
|
||||||
"shoulder_right": [
|
"shoulder_right": [
|
||||||
338,
|
212,
|
||||||
149
|
107
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"layer_order": false,
|
"layer_order": true,
|
||||||
"scale_bag": 0.7,
|
"scale_bag": 0.7,
|
||||||
"scale_earrings": 0.16,
|
"scale_earrings": 0.16,
|
||||||
"self_template": true,
|
"self_template": true,
|
||||||
@@ -57,62 +57,48 @@ def design(request_data: DesignModel):
|
|||||||
},
|
},
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"color": "229 214 200",
|
"businessId": 255303,
|
||||||
"icon": "none",
|
"color": "139 148 156",
|
||||||
"image_id": 110205,
|
"image_id": 95159,
|
||||||
"offset": [
|
"offset": [
|
||||||
1,
|
0,
|
||||||
1
|
0
|
||||||
],
|
],
|
||||||
"path": "aida-sys-image/images/female/trousers/0916000217.jpg",
|
"path": "aida-users/89/sketch/c89d75f3-581f-4edd-9f8e-b08e84a2cbe7-3-89.png",
|
||||||
"print": {
|
"print": {
|
||||||
"IfSingle": false,
|
"IfSingle": false,
|
||||||
"print_path_list": []
|
"location": [
|
||||||
|
[
|
||||||
|
512.0,
|
||||||
|
512.0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"print_angle_list": [
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"print_path_list": [
|
||||||
|
"aida-users/89/print/468643b4-bc2d-41b2-9a16-79766606a2db-3-89.png"
|
||||||
|
],
|
||||||
|
"print_scale_list": [
|
||||||
|
1.0
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
"priority": 10,
|
||||||
"resize_scale": [
|
"resize_scale": [
|
||||||
1.0,
|
1.0,
|
||||||
1.0
|
1.0
|
||||||
],
|
],
|
||||||
"type": "Trousers"
|
"type": "Dress"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"businessId": 493825,
|
"body_path": "aida-sys-image/models/female/2e4815b9-1191-419d-94ed-5771239ca4a5.png",
|
||||||
"color": "209 125 29",
|
"image_id": 67277,
|
||||||
"elementId": 493825,
|
|
||||||
"icon": "none",
|
|
||||||
"image_id": 107101,
|
|
||||||
"offset": [
|
|
||||||
1,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"path": "aida-users/31/sketchboard/female/Blouse/de8f5656-d7ae-4642-bc90-f7f9d85da09b.jpg",
|
|
||||||
"print": {
|
|
||||||
"IfSingle": false,
|
|
||||||
"print_path_list": []
|
|
||||||
},
|
|
||||||
"resize_scale": [
|
|
||||||
1.0,
|
|
||||||
1.0
|
|
||||||
],
|
|
||||||
"type": "Blouse"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"body_path": "aida-users/31/models/female/845046c7-4f62-4f54-a4a9-c26d49c6969335b5b3a9-d335-4871-a46c-3cc3caf07da259629dfd1f1f555a2e2a9def7e719366.png",
|
|
||||||
"image_id": 82966,
|
|
||||||
"offset": [
|
|
||||||
1,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"resize_scale": [
|
|
||||||
1.0,
|
|
||||||
1.0
|
|
||||||
],
|
|
||||||
"type": "Body"
|
"type": "Body"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"process_id": "6878547032381675"
|
"process_id": "89"
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user