Authored by qianjun

update 008

... ... @@ -613,3 +613,55 @@ or
"message": "驳回货到付款操作成功"
}
```
# 批量导入货到付款
> 接口名: `/batch/import`
### 入参
``` json
{
"type":"payDeliveryModify",
"file":"具体文件流"
}
```
### 公共参数
``` json
{
"x-user-id":"20001"
"x-user-name":"qianjun211"
}
```
-------------------------
|属性名称|类型|例子|说明|是否必填|
|--------|----|----|----|--------|
|type|字符串||payDeliveryModify|必填|
|file|文件||下载url为"/common/payDelivery.xlsx"|必填|
|x-user-id|String|"10023"|申请人ID|
|x-user-name|String|"qianjun"|申请人|
---------------------
### 返回
``` json
{
"code": 200,
"data": {
"failFileReason": [],
"successList": [
{
"brandId": 46,
"isPayDelivery": 0,
"productSkn": 50001168
},
{
"brandId": 108,
"isPayDelivery": 1,
"productSkn": 50001829
}
]
},
"message": "处理成功"
}
```
... ...