User/Upload/only_upload 跟进记录上传图
2020-04-10 本文已影响0人
小二郎_Ejun
URL | User/Upload/only_upload |
---|---|
请求方式 | POST |
请求参数
参数名 | 类型 | 必填 | 说明 |
---|---|---|---|
token | [string] | 是 | 无 |
dir | [string] | 是 | 目录,对应值Followup |
{
dir = Followup;
token = "MDAwMDAwMDAwMJWxg9";
}
返回结果参数说明
参数名 | 类型 | 必含 | 说明 |
---|---|---|---|
status | [int] | 是 | 返回数据状态 1:成功,0:失败 |
msg | [string] | 是 | 返回提示信息 |
data | [json] | 是 | 结果对象包括下述字段: |
{
code = 1;
data = {
"preview_url" = "https://passport-bucket.oss-cn-hangzhou.aliyuncs.com/Uploads/Followup/144/20200410155409_8438.jpg";
"preview_url_small" = "https://passport-bucket.oss-cn-hangzhou.aliyuncs.com/Uploads/Followup/144/20200410155409_8438.jpg?x-oss-process=image/resize,m_lfit,h_500,w_500";
type = image;
url = "Uploads/Followup/144/20200410155409_8438.jpg";
"url_small" = "Uploads/Followup/144/20200410155409_8438.jpg?x-oss-process=image/resize,m_lfit,h_500,w_500";
};
msg = "成功";
status = 1;
}