Showing
1 changed file
with
52 additions
and
0 deletions
@@ -613,3 +613,55 @@ or | @@ -613,3 +613,55 @@ or | ||
613 | "message": "驳回货到付款操作成功" | 613 | "message": "驳回货到付款操作成功" |
614 | } | 614 | } |
615 | ``` | 615 | ``` |
616 | +# 批量导入货到付款 | ||
617 | + | ||
618 | +> 接口名: `/batch/import` | ||
619 | + | ||
620 | +### 入参 | ||
621 | +``` json | ||
622 | +{ | ||
623 | + "type":"payDeliveryModify", | ||
624 | + "file":"具体文件流" | ||
625 | +} | ||
626 | +``` | ||
627 | +### 公共参数 | ||
628 | +``` json | ||
629 | +{ | ||
630 | + "x-user-id":"20001" | ||
631 | + "x-user-name":"qianjun211" | ||
632 | +} | ||
633 | +``` | ||
634 | +------------------------- | ||
635 | +|属性名称|类型|例子|说明|是否必填| | ||
636 | +|--------|----|----|----|--------| | ||
637 | +|type|字符串||payDeliveryModify|必填| | ||
638 | +|file|文件||下载url为"/common/payDelivery.xlsx"|必填| | ||
639 | +|x-user-id|String|"10023"|申请人ID| | ||
640 | +|x-user-name|String|"qianjun"|申请人| | ||
641 | +--------------------- | ||
642 | + | ||
643 | +### 返回 | ||
644 | + | ||
645 | +``` json | ||
646 | +{ | ||
647 | + "code": 200, | ||
648 | + "data": { | ||
649 | + "failFileReason": [], | ||
650 | + "successList": [ | ||
651 | + { | ||
652 | + "brandId": 46, | ||
653 | + "isPayDelivery": 0, | ||
654 | + "productSkn": 50001168 | ||
655 | + }, | ||
656 | + { | ||
657 | + "brandId": 108, | ||
658 | + "isPayDelivery": 1, | ||
659 | + "productSkn": 50001829 | ||
660 | + } | ||
661 | + ] | ||
662 | + }, | ||
663 | + "message": "处理成功" | ||
664 | +} | ||
665 | + | ||
666 | +``` | ||
667 | + |
-
Please register or login to post a comment