Showing
1 changed file
with
44 additions
and
0 deletions
1 | +批量导入导出操作接口 | ||
2 | +====== | ||
3 | +### 批量导入 | ||
4 | + | ||
5 | +> 接口名: `/batch/import` | ||
6 | + | ||
7 | +#### 入参 | ||
8 | + | ||
9 | +------------------------- | ||
10 | +|属性名称|类型|例子|说明| | ||
11 | +|----|----|----|----| | ||
12 | +|file|multpart|无|批量导入的文件,必填字段| | ||
13 | +|type|string|product_price|批量导入业务类型,必填字段| | ||
14 | + | ||
15 | +#### 返回 | ||
16 | + | ||
17 | +``` json | ||
18 | +{ | ||
19 | + "code":200, | ||
20 | + "message":"导入成功", | ||
21 | + "data":{ | ||
22 | + ...由业务详细给出.. | ||
23 | + } | ||
24 | +} | ||
25 | + | ||
26 | +``` | ||
27 | +### 批量导入 | ||
28 | + | ||
29 | +> 接口名: '/batch/download' | ||
30 | + | ||
31 | +#### 入参 | ||
32 | + | ||
33 | +------------------------- | ||
34 | +|属性名称|类型|例子|说明| | ||
35 | +|--------|----|----|----| | ||
36 | +|path|string|123231123.xlsx|文件路径,必填字段| | ||
37 | +--------------------- | ||
38 | + | ||
39 | +#### 返回 | ||
40 | + | ||
41 | +``` | ||
42 | +文件流 | ||
43 | +``` | ||
44 | + |
-
Please register or login to post a comment