- 后台接口
- 前台接口
- 【新】后台接口
- 【新】前台接口
绘画广场列表
开发中
GET
api/draw.drawSquare/lists
请求参数
Body 参数multipart/form-data
category_id
integer
可选
keyword
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'api/draw.drawSquare/lists' \
--form 'category_id="";type=分类ID' \
--form 'keyword=""'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {11}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"style_name": "-",
"user_info": {
"image": "http://www.php-cw.localhost/uploads/images/20240704/202407041805107e3378523.jpg",
"name": "正在研究在3小时内如何睡够8小时"
},
"source_desc": "前台用户",
"id": 5,
"source": 2,
"operate_id": 10,
"title": "光辉岁月",
"image_url": "http://www.php-cw.localhost/uploads/images/20240723/image_c1259d61-9de6-4856-a640-5684f3a961d5.jpeg",
"create_time": "2024-07-23 16:18:22",
"duration": "01:30",
"style_id": "0"
},
{
"style_name": "轻音乐",
"user_info": {
"image": "http://www.php-cw.localhost/uploads/images/20240704/202407041805107e3378523.jpg",
"name": "正在研究在3小时内如何睡够8小时"
},
"source_desc": "前台用户",
"id": 4,
"source": 2,
"operate_id": 10,
"title": "弱水三千",
"image_url": "http://www.php-cw.localhost/uploads/images/20240627/image_f14fa16a-207e-4a12-837d-3e0d9db1133b.png",
"create_time": "2024-07-23 12:11:48",
"duration": "02:00",
"style_id": "3"
}
],
"count": 2,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
修改于 2024-07-23 10:14:07