获取相册图片
开发中
GET
/api/web/picture/list/{id}
相册(前台)
请求参数
Path 参数
id
string
相册对应分类ID
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:3000/api/web/picture/list/'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
message
string
响应信息
data
array[object (image) {7}]
响应数据
name
string
图片名称
src
string
图片路径
createTime
string
创建时间
updateTime
string
更新时间
categoryID
string
分类ID
categoryName
string
分类名称
size
string
文件大小
total
integer
数据总数
示例
{
"code": 200,
"message": "获取成功",
"data": [
{
"name": "被更道只统",
"src": "fugiat deserunt velit",
"createTime": "1974-09-14 01:43:22",
"updateTime": "1979-08-06 00:56:06",
"categoryID": "44",
"categoryName": "国情许",
"size": "laboris Duis nulla"
},
{
"name": "把石时式指圆",
"src": "dolor id dolore",
"createTime": "2017-10-08 07:12:14",
"updateTime": "1985-06-06 10:40:34",
"categoryID": "58",
"categoryName": "说据委去",
"size": "sint qui"
}
],
"total": 40
}
修改于 2024-08-03 06:55:04