Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Yoho-Documents
/
API-Interfaces
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
10
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
lijian
8 years ago
Commit
612360f3d540cab526c11743d2e1f2cbc3d493c8
1 parent
6302c89c
试衣间接口
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
122 additions
and
2 deletions
线下店/线下店 --试衣间-ipad端.md
线下店/线下店 --试衣间-镜子端.md
线下店/线下店 --试衣间-ipad端.md
View file @
612360f
...
...
@@ -319,7 +319,7 @@ code为200即为成功,否则是失败。
|needFlag|boolean|是|true|null| true 需要服务 false 取消服务 |
请求示例
http://
localhost:8081/shops/FittingRest/sendFittingServerByMac.do
http://
192.168.102.210:8080/portal-gateway/FittingController/sendFittingServerByMac?debug=XYZ&mac=rty&
### 响应
code为200即为成功,否则是失败。
...
...
线下店/线下店 --试衣间-镜子端.md
View file @
612360f
...
...
@@ -172,4 +172,124 @@ code为200即为成功,否则是失败。
"message"
:
"请求试衣服务成功"
,
"data"
:
null
}
```
\ No newline at end of file
```
## 6、根据mac,sku创建试衣取货任务
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|mac|string|是|234.2342.234234|null|镜子 mac信息 |
|skuId|int|是|1231231|null| skuid |
请求示例
http://192.168.102.210:8080/portal-gateway/TaskInfoController/createFittingTask?mac=23423.2342.234&skuId=234234
### 响应
code为200即为成功,否则是失败。
其中data为返回的taskid
```
json
{
"mac"
:
"1231.1231.1231"
,
"skuId"
:
234234
}
{
"code"
:
200
,
"message"
:
"请求试衣取货成功!"
,
"data"
:
5940
}
```
## 7、根据taskid查询任务详情
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|id|int|是|2342|任务id |
|task_type|int|是|4|null| 4 试衣取货 |
请求示例
http://192.168.102.210:8080/portal-gateway/TaskInfoController/getTaskDetailList4PDA?debug=XYZ&id=5926&task_type=4
### 响应
code为200即为成功,否则是失败。
其中data为返回的任务详情
taskStatus 任务状态:1.待接收,2.已接收,3.已完成,4.已终止
```
json
{
"code": 200,
"message": "success",
"data": {
"taskStatus": 1,
"receiveTime": 0,
"finishTime": 0,
"pickingTime": 0,
"totalRealNum": null,
"pickingNum": 1,
"mirrorName": null,
"list":
[
{
"createUserId": null,
"createUserName": null,
"createTime": null,
"createTimeStr": null,
"status": null,
"statusStr": null,
"updateTime": null,
"updateTimeStr": null,
"productId": 0,
"productSkn": 51009362,
"productSku": 345435,
"productSkc": 95821,
"sizeName": "40码",
"colorName": "红色",
"imageUrl": "http://img11.static.yhbimg.com/goodsimg/2013/04/08/08/01bb4529427c3ca4f5ace779652194000f.jpg",
"productName": "VANS U ZAPATO DEL BARCO CA VN-0IPX",
"brandName": "VANS",
"brandId": 0,
"shelveTime": null,
"maxSortId": 0,
"maxSortName": "鞋靴",
"middleSortName": "休闲/运动鞋",
"smallSortName": "休闲/运动鞋",
"genderStr": null,
"attribute": null,
"isShopCanSale": null,
"isShopOnSale": null,
"isAdvance": null,
"isSpecial": null,
"isLimited": null,
"isJit": null,
"marketPrice": null,
"salesPrice": null,
"grossRate": null,
"replenishSwitch": 0,
"shopStock": 0,
"allStock": 0,
"goodsShelvesStock": 0,
"destroyStock": 0,
"tempShelvesStock": 0,
"waitStock": 0,
"allocateShelvesStock": 0,
"mobileStock": 0,
"testStock": 0,
"imageUrls": null,
"skcColor": "95821(红色)",
"genderAttribute": null,
"saleAttribute": null,
"goodsShelvesCode": null,
"cost": 0,
"shopSaleStock": null,
"goodsShelvesName": null,
"num": 1,
"shelfProductNum": null,
"shelfProductDetail": null,
"templatePic": "http:///goodsimghttp%3A//img11.static.yhbimg.com/goodsimg/2013/04/08/08/01bb4529427c3ca4f5ace779652194000f.jpg?imageView/{mode}/w/{width}/h/{height}",
"lockNum": 0,
"addTime": null
}
]
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment