Showing
1 changed file
with
111 additions
and
0 deletions
@@ -381,6 +381,62 @@ | @@ -381,6 +381,62 @@ | ||
381 | } | 381 | } |
382 | 382 | ||
383 | ``` | 383 | ``` |
384 | +## 发货入库统计(给app调用) | ||
385 | +> 接口名:`/shop/getStorageInRptForApi` | ||
386 | + | ||
387 | +------------------------- | ||
388 | +|属性名称|类型|例子|说明| | ||
389 | +|--------|----|----|----| | ||
390 | +|page|int|2|第几页| | ||
391 | +|size|int|10|每页条数| | ||
392 | +|beginTime|string|20150306|开始日期| | ||
393 | +|endTime|string|20150308|结束日期| | ||
394 | +--------------------- | ||
395 | + | ||
396 | +### 返回 | ||
397 | + | ||
398 | +``` json | ||
399 | +请求样例: | ||
400 | +{ | ||
401 | + "page": 1, | ||
402 | + "size": 2 | ||
403 | +} | ||
404 | +正常返回: | ||
405 | + | ||
406 | +{ | ||
407 | + "alg": "SALT_MD5", | ||
408 | + "code": 200, | ||
409 | + "data": { | ||
410 | + "additionInfo": { | ||
411 | + "allAmount": 2977818.56, | ||
412 | + "allAmountRate": 2977817.56, | ||
413 | + "allNumber": 14747, | ||
414 | + "allNumberRate": 14746 | ||
415 | + }, | ||
416 | + "list": [ | ||
417 | + { | ||
418 | + "dateId": 20160518, | ||
419 | + "inStorageNums": 665, | ||
420 | + "orderCode": 1605008704, | ||
421 | + "inStorageAmount": 2342 | ||
422 | + } | ||
423 | + ], | ||
424 | + "page": 1, | ||
425 | + "size": 10, | ||
426 | + "total": 14612, | ||
427 | + "totalPage": 1462 | ||
428 | + }, | ||
429 | + "md5": "ce4964c1e6defece5035c81b63c3c51d", | ||
430 | + "message": "getOrdersGoodsRptList result" | ||
431 | +} | ||
432 | +异常返回: | ||
433 | +{ | ||
434 | + "code": 405, | ||
435 | + "data": [], | ||
436 | + "md5": "d751713988987e9331980363e24189ce", | ||
437 | + "message": "getOrdersGoodsRptList" | ||
438 | +} | ||
439 | +``` | ||
384 | ## 清退出库统计 | 440 | ## 清退出库统计 |
385 | > 接口名:`/shop/getStorageOutRptList` | 441 | > 接口名:`/shop/getStorageOutRptList` |
386 | 442 | ||
@@ -462,5 +518,60 @@ | @@ -462,5 +518,60 @@ | ||
462 | "md5": "d751713988987e9331980363e24189ce", | 518 | "md5": "d751713988987e9331980363e24189ce", |
463 | "message": "getOrdersGoodsRptList" | 519 | "message": "getOrdersGoodsRptList" |
464 | } | 520 | } |
521 | +``` | ||
522 | +## 清退出库统计(给app调用) | ||
523 | +> 接口名:`/shop/getStorageOutRptForApi` | ||
524 | + | ||
525 | +------------------------- | ||
526 | +|属性名称|类型|例子|说明| | ||
527 | +|--------|----|----|----| | ||
528 | +|page|int|2|第几页| | ||
529 | +|size|int|10|每页条数| | ||
530 | +|beginTime|string|20150306|开始日期| | ||
531 | +|endTime|string|20150308|结束日期| | ||
532 | +--------------------- | ||
533 | + | ||
534 | +### 返回 | ||
535 | + | ||
536 | +``` json | ||
537 | +请求样例: | ||
538 | +{ | ||
539 | + "page": 1, | ||
540 | + "size": 2 | ||
541 | +} | ||
542 | +正常返回: | ||
543 | +{ | ||
544 | + "alg": "SALT_MD5", | ||
545 | + "code": 200, | ||
546 | + "data": { | ||
547 | + "additionInfo": { | ||
548 | + "allAmount": 2977818.56, | ||
549 | + "allAmountRate": 2977817.56, | ||
550 | + "allNumber": 14747, | ||
551 | + "allNumberRate": 14746 | ||
552 | + }, | ||
553 | + "list": [ | ||
554 | + { | ||
555 | + "dateId": 20160518, | ||
556 | + "outStorageNums": 665, | ||
557 | + "orderCode": 1605008704, | ||
558 | + "outStorageAmount": 2342 | ||
559 | + } | ||
560 | + ], | ||
561 | + "page": 1, | ||
562 | + "size": 10, | ||
563 | + "total": 14612, | ||
564 | + "totalPage": 1462 | ||
565 | + }, | ||
566 | + "md5": "ce4964c1e6defece5035c81b63c3c51d", | ||
567 | + "message": "result" | ||
568 | +} | ||
569 | +异常返回: | ||
570 | +{ | ||
571 | + "code": 405, | ||
572 | + "data": [], | ||
573 | + "md5": "d751713988987e9331980363e24189ce", | ||
574 | + "message": "getStorageOutRptForApi" | ||
575 | +} | ||
465 | 576 | ||
466 | ``` | 577 | ``` |
-
Please register or login to post a comment