Authored by lijian

出入库

... ... @@ -381,6 +381,62 @@
}
```
## 发货入库统计(给app调用)
> 接口名:`/shop/getStorageInRptForApi`
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|page|int|2|第几页|
|size|int|10|每页条数|
|beginTime|string|20150306|开始日期|
|endTime|string|20150308|结束日期|
---------------------
### 返回
``` json
请求样例:
{
"page": 1,
"size": 2
}
正常返回:
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"additionInfo": {
"allAmount": 2977818.56,
"allAmountRate": 2977817.56,
"allNumber": 14747,
"allNumberRate": 14746
},
"list": [
{
"dateId": 20160518,
"inStorageNums": 665,
"orderCode": 1605008704,
"inStorageAmount": 2342
}
],
"page": 1,
"size": 10,
"total": 14612,
"totalPage": 1462
},
"md5": "ce4964c1e6defece5035c81b63c3c51d",
"message": "getOrdersGoodsRptList result"
}
异常返回:
{
"code": 405,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": "getOrdersGoodsRptList"
}
```
## 清退出库统计
> 接口名:`/shop/getStorageOutRptList`
... ... @@ -462,5 +518,60 @@
"md5": "d751713988987e9331980363e24189ce",
"message": "getOrdersGoodsRptList"
}
```
## 清退出库统计(给app调用)
> 接口名:`/shop/getStorageOutRptForApi`
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|page|int|2|第几页|
|size|int|10|每页条数|
|beginTime|string|20150306|开始日期|
|endTime|string|20150308|结束日期|
---------------------
### 返回
``` json
请求样例:
{
"page": 1,
"size": 2
}
正常返回:
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"additionInfo": {
"allAmount": 2977818.56,
"allAmountRate": 2977817.56,
"allNumber": 14747,
"allNumberRate": 14746
},
"list": [
{
"dateId": 20160518,
"outStorageNums": 665,
"orderCode": 1605008704,
"outStorageAmount": 2342
}
],
"page": 1,
"size": 10,
"total": 14612,
"totalPage": 1462
},
"md5": "ce4964c1e6defece5035c81b63c3c51d",
"message": "result"
}
异常返回:
{
"code": 405,
"data": [],
"md5": "d751713988987e9331980363e24189ce",
"message": "getStorageOutRptForApi"
}
```
\ No newline at end of file
... ...