类型列表
开发中
GET
/adminapi/write.category/lists
请求参数
Query 参数
title
string
类型名称
示例值:
毕业论文
ai
string
AI模型
示例值:
gpt3.5
status
integer
可选
示例值:
1
Header 参数
token
string
可选
示例值:
{{adminToken}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/write.category/lists' \
--header 'token: {{adminToken}}' \
--header 'token;'
返回响应
🟢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": [
{
"id": 11,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": "1 ~ 3",
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-27 12:09:57"
},
{
"id": 10,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": "1 ~ 3",
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-27 12:09:26"
},
{
"id": 9,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": "1 ~ 3",
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 17:07:29"
},
{
"id": 8,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": "1 ~ 3",
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 17:06:08"
},
{
"id": 7,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": 0,
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 16:16:38"
},
{
"id": 6,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": 0,
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 15:58:20"
},
{
"id": 5,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": 0,
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 15:25:57"
},
{
"id": 4,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": 0,
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 15:13:20"
},
{
"id": 3,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": 0,
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 14:49:18"
},
{
"id": 2,
"title": "我是类目",
"image": "https://aa.png",
"intro": "这是简介",
"sell_price": 0,
"ai": "gpt3.5",
"sort": 0,
"status": 1,
"create_time": "2023-11-23 14:47:41"
}
],
"count": 10,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
修改于 2024-02-18 09:58:24