请求URL
http://xx.com/recycle/fileList
Headers
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
source |
是 |
int |
1app上传 2后台上传 |
返回示例
{
"error_code": 0,
"msg": "success",
"data": [
{
"id": 933, //记录ID
"type": 1, //文件类型 1图片,2视频
"file_id": "F67769F0B12B4DEF85ED88FA1D801F26",//文件ID
"source": 1,//来源 : 1APP,2管理后台
"power": 2,//1私有 2公共读 3公共读写
"video_id": "", //视频转码唯一标识
"vendor": 2,//1:七牛云 2:阿里云 3:腾讯云 4:Amazon S3 5:金山云 6:Microsoft Azure 7:谷歌云 8:华为云 9:百度智能云
"task_id": "",//智能检测任务ID
"user_id": 110, //上传者ID
"status": 1,//0禁用 1正常 3已删除
"link_url": "http://uploadpublicbuckets.oss-cn-hangzhou.aliyuncs.com/fileName/20220117/2022011710315361e4d519b622b.png", //资源链接,图片或视频的链接,根据字段type给对应标签赋值
"created_at": "2022-01-17 10:31:53",
"updated_at": "2022-01-17 10:31:53",
"deleted_at": "2022-01-21 15:01:38",//删除时间
"operator": {
"id": 407,
"username": "an",//操作者昵称
"phone": "an"//操作者手机
},
"user": { //上传者
"id": 110,
"username": "88测试",//用户昵称
"headimg": "http://uploadpublicbuckets.oss-cn-hangzhou.aliyuncs.com/fileName/20220117/2022011710315361e4d519b622b.png"
}
}
],
"total": 5
}
返回参数说明
参数名 |
类型 |
说明 |
error_code |
int |
0成功 |
msg |
string |
success |
备注