HLFramework

欢迎访问哈林文档管理系统

获取图片列表

根据分页和分组等条件获取图片数据

实际URL:https://www.xxxx.com/platform/v3/file/image-index

请求参数(Headers):
字段名 类型 说明
Authorization String 用户token
请求参数(Query):
字段名 类型 说明
pageIndex String 页码(从0开启)(必填)
pSize String 每页显示数量(必填)
type String 排序类型(timeAsc:上传时间正序、timeDesc:上传时间倒序、nameAsc:名称正序、nameDesc:名称倒序)(非必填)
name String 文件名称(非必填)
time String 上传日期(十位时间戳格式)
gid String 文件分组ID
输出参数:
字段名 类型 说明
Code String 三位数字
message String 200: 请求成功 、400:处理请求数据出错、401:无权限、500:系统异常
输出数据说明:

{ "code": 200, "message": "OK", "data": { "list": [{ "id": "308", "cate_id": "0", "type": "0", "drive": "local", "upload_type": "images", "specific_type": "image/jpeg", "base_url": "https://www.xxxx.cc/attachment/images/2024/01/16/image_1705387375_xIT8aw28.jpg", "path": "images/2024/01/16/image_1705387375_xIT8aw28.jpg", "md5": "85166e39b1777cd03c9ce40efd52988d", "filename": "", "name": "image_1705387375_xIT8aw28", "extension": "jpg", "size": "44137", "year": "2024", "month": "1", "day": "16", "width": "800", "height": "800", "upload_ip": "28678432", "status": "1", "user_id": "5", "store_id": "4", "lib_id": "4", "apply_id": "chainstore", "created_at": "1705387376", "updated_at": "1705387376" }], "page": { "pageParam": "page", "pageSizeParam": "per-page", "totalCount": 235, "defaultPageSize": 18, "pageSizeLimit": [1, 50] } }, "timestamp": 1718258990 }