文档
测试

图片上传公共接口

POST
/api/images/upload

请求参数

参数名
类型
描述
必填
file
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
matchs_img_path
string
示例:https://api.hisport.cloud/matchs_image/2021/12/2021-12-16/125287415299444736-n001-2021-12-16-09-30-31.png
必填
file_path
object
数据字典
必填
file_path_parent
string
示例:matchs_image/2021/12/2021-12-16
必填
file_path
string
示例:matchs_image/2021/12/2021-12-16/125287415299444736-n001-2021-12-16-09-30-31.png
必填

说明 / 示例

```json { "code": 1, "msg": "success", "data": { "matchs_img_path": "https://api.hisport.cloud/matchs_image/2021/12/2021-12-16/125287415299444736-n001-2021-12-16-09-30-31.png", "file_path": { "file_path_parent": "matchs_image/2021/12/2021-12-16", "file_path": "matchs_image/2021/12/2021-12-16/125287415299444736-n001-2021-12-16-09-30-31.png" } } } ```