接口地址
[接口服务器地址]/api/common/get_file.html
Request Headers
名称 |
必选 |
类型 |
说明 |
Content-Type |
true |
string |
application/json; charset=UTF-8 |
authen |
true |
string |
认证码 什么是认证码
|
appid |
true |
string |
接入ID 什么是接入ID
|
timestamp |
true |
string |
时间戳
|
uid |
true |
string |
当前帐号
|
lang |
true |
string |
语言 zh-cn,en-us
|
Request Body
名称 |
必选 |
类型 |
说明 |
id |
true |
string |
文件ID |
返回结果(成功)
{"status":1,"code":0,"msg":"","data":{"gid":"e197529a5ab811e9b23888d7f697be9a","name":"test.jpg","size":1024,"url":"\\uploads\\common\\20180101\\a350eefe9d28b90c59a00686829001ae.jpg","thumb_url":"\\uploads\\common\\20180101\\a350eefe9d28b90c59a00686829001ae_thumb.jpg"}}