文档
测试

查询书法单字图片

GET
/calligraphy/resource/list

请求参数

参数名
类型
描述
必填
page
int
当前页,默认第一页
必填
limit
int
每页显示条数,默认显示10条
必填
key_word
查询关键字
可选
category_id
分类ID
可选

响应参数

参数名
类型
描述
必填
code
int
返回状态码
必填
msg
string
返回描述
必填
data
array
返回数据
必填
total
int
总条数
必填
list
array
列表
必填
id
int
Id
必填
filename
文件名称
必填
fileUrl
文件地址
必填
fileCover
封面图
必填
parent_name
父级目录
必填

说明 / 示例

{ "code": 200, "msg": "操作成功", "data": { "total": "21", "list": [ { "id": "16721", "filename": "107春", "ext": "jpg", "fileSize": "1", "length": "1", "type": "image", "description": null, "isPublic": "1", "canDownload": "0", "updatedUserId": null, "updatedTime": "1705991652", "createdUserId": null, "createdTime": "1705991652", "category_id": "637", "fileUrl": "https://alioss.castlearn.com.cn/calligraphy/singleword/《爨宝子碑》/107春.jpg", "fileCover": "https://alioss.castlearn.com.cn/calligraphy/singleword/《爨宝子碑》/107春.jpg", "parent_name": "《爨宝子碑》" } ] } }