文档
测试

对话页上传多个文件

POST
http://123.125.240.150:51074/_user_upload_multifile

接口描述

用户上传多个对话文件,之后使用upload_id进行问答

请求参数

参数名
类型
描述
必填
file
file
多个上传文件
必填

响应参数

参数名
类型
描述
必填
flag
string
状态位
必填
code
int
状态码
必填
serverip
string
服务器ip
必填
msg
string
消息
必填
data
string
必填
upload_id
string
上传id,后续使用这个id进行
必填
filename
array[str]
上传文件名
必填

说明 / 示例

## 提示 可以先使用`curl`或者`postman`, `apifox`测试 ## 请求参数 ```json curl -X POST \ -H "Content-Type: multipart/form-data" \ -F "file=@广东省人力资源和社会保障厅对外知识点.docx" \ "http://123.125.240.150:51074/_user_upload_multifile" ``` ## 返回参数 ```bash { "flag": "True", "code": 200, "serverip": "172.17.0.8", "msg": "ok", "data": { "upload_id": "275b5603-3a35-4880-ae73-eed5731655bb", "filename": ["广东省人力资源和社会保障厅对外知识点.docx"] } } ```