|
|
批量导入导出操作接口
|
|
|
======
|
|
|
### 批量导入
|
|
|
|
|
|
> 接口名: `/batch/import`
|
|
|
|
|
|
#### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|----|----|----|----|
|
|
|
|file|multpart|无|批量导入的文件,必填字段|
|
|
|
|type|string|product_price|批量导入业务类型,必填字段|
|
|
|
|
|
|
#### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code":200,
|
|
|
"message":"导入成功",
|
|
|
"data":{
|
|
|
...由业务详细给出..
|
|
|
}
|
|
|
}
|
|
|
|
|
|
```
|
|
|
### 批量导入
|
|
|
|
|
|
> 接口名: '/batch/download'
|
|
|
|
|
|
#### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|path|string|123231123.xlsx|文件路径,必填字段|
|
|
|
---------------------
|
|
|
|
|
|
#### 返回
|
|
|
|
|
|
```
|
|
|
文件流
|
|
|
```
|
|
|
|
...
|
...
|
|