...
|
...
|
@@ -7,16 +7,11 @@ |
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|page|int|是|2|第几页|
|
|
|
|size|int|是|10|每页条数|
|
|
|
|type|int|否|1|1 日 2 周 3 月|
|
|
|
|reqTime|int|type为1或者3必填|日报示例20160521 月报示例 201605|日报或者月报日期, 周报则通过以下两个字段传入|
|
|
|
|beginTime|string|type为2必传|20160521|周报:开始日期|
|
|
|
|endTime|string|type为2必传|20160527|周报:结束日期|
|
|
|
|productSkn|long|是|1222|skn|
|
|
|
|productSkc|long|是|1222|skc|
|
|
|
|productSku|long|是|1222|sku|
|
|
|
|factoryCode|string|是|234234|厂家编号|
|
|
|
|sortId|int|是|12|产品分类 最小的分类ID 如果用户只筛选一级品类传一级品类ID 如果用户筛选到二级品类传入二级品类ID,以此类推 |
|
|
|
|shopsId|int|否|17|店铺ID |
|
|
|
|shopId|int|否|17|店铺ID |
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
请求示例
|
...
|
...
|
@@ -35,10 +30,12 @@ http://192.168.102.210:8088/platform/seller/getStorageStatisticsList |
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"additionInfo": {
|
|
|
"dateId": 20170611,
|
|
|
"storageTotalMoney": 66.33,
|
|
|
"onSaleTotalNum": 1,
|
|
|
"storageTotalNum": 2
|
|
|
"dateId": 20170611, // 报表统计的日期
|
|
|
"storageTotalMoney": 66.33, 库存总金额(元)
|
|
|
"onSaleTotalNum": 1, // 上架数 (无上架则无此节点)
|
|
|
"storageTotalNum": 2, // 库存总数量
|
|
|
"preSaleTotalNum":1, //待上架数 (无待上架则无此节点)
|
|
|
"outSaleTotalNum":1 // 下架数 (无下架则无此节点)
|
|
|
},
|
|
|
"total": 1,
|
|
|
"size": 10,
|
...
|
...
|
@@ -54,7 +51,7 @@ http://192.168.102.210:8088/platform/seller/getStorageStatisticsList |
|
|
"brandName": "brand名称",
|
|
|
"smallSortId": 299,
|
|
|
"colorId": 1,
|
|
|
"storageAmount": 66.33,
|
|
|
"storageAmount": 66.33, // 库存金额
|
|
|
"maxSortId": 6,
|
|
|
"shopName": "shopName",
|
|
|
"middleSortId": 298,
|
...
|
...
|
@@ -64,7 +61,7 @@ http://192.168.102.210:8088/platform/seller/getStorageStatisticsList |
|
|
"smallSortName": "厚底鞋",
|
|
|
"brandId": 422,
|
|
|
"dateId": 20170611,
|
|
|
"storeNums": 2,
|
|
|
"storeNums": 2, // 库存数量
|
|
|
"middleSortName": "厚底鞋",
|
|
|
"productSkn": 512588578,
|
|
|
"shopId": 222,
|
...
|
...
|
|