Showing
1 changed file
with
46 additions
and
0 deletions
@@ -260,4 +260,50 @@ | @@ -260,4 +260,50 @@ | ||
260 | "message":"操作成功!" | 260 | "message":"操作成功!" |
261 | } | 261 | } |
262 | ``` | 262 | ``` |
263 | +### 批量导入 SKN | ||
264 | + | ||
265 | +> 接口名:`/batch/import` | ||
266 | + | ||
267 | +### 入参 | ||
268 | + | ||
269 | +---------------------------------- | ||
270 | +|属性名称|类型|例子|说明|是否必填| | ||
271 | +|--------|----|----|----|--------| | ||
272 | +|type|string|activityProduct| 固定值 |是| | ||
273 | +|args|json|{"templateId":"108"}|模板 ID |是| | ||
274 | +|file|File||文件|是| | ||
275 | +---------------------------------- | ||
276 | + | ||
277 | +`Note: Post 方式提交` | ||
278 | + | ||
279 | +### 示例 | ||
280 | + | ||
281 | +> localhost:8088/platform/batch/import?type=activityProduct&args={"templateId":"108"} | ||
282 | + | ||
283 | +Excel 示例 | ||
284 | + | ||
285 | +---------- | ||
286 | +| SKN | | ||
287 | +|--------| | ||
288 | +|51064126| | ||
289 | +|51064126| | ||
290 | +|51064175| | ||
291 | +|51064175| | ||
292 | +|51064175| | ||
293 | +|51064177| | ||
294 | +|51064177| | ||
295 | +|51064177| | ||
296 | +|51064920| | ||
297 | +|51064920| | ||
298 | +---------- | ||
299 | + | ||
300 | + | ||
301 | +### 返回 | ||
302 | + | ||
303 | +```json | ||
304 | +{ | ||
305 | + "code": 400, | ||
306 | + "message": "本次导入,成功 0 个,已存在 10 个" | ||
307 | +} | ||
308 | +``` | ||
263 | 309 |
-
Please register or login to post a comment