获取全部标签
GET
tag/all最后修改时间: 2 年前
责任人:
请求参数
Query 参数
page
integer
分页
示例值:
1
limit
integer
限制数据条目
示例值:
5
order
string
排序方式
示例值:
create_time desc
cache
string
是否获取缓存数据
示例值:
true
示例代码
返回响应
请求成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
msg
string
信息
data
string | integer | boolean | array | object | number | null
数据
示例
{
"code": 200,
"msg": "数据请求成功!",
"data": {
"page": 1,
"count": 5,
"data": [
{
"id": 5,
"name": "HTML+CSS",
"is_show": 1,
"opt": null,
"expand": {
"count": 0,
"color": "info"
},
"longtext": null,
"create_time": "2022-04-15 18:07:48",
"update_time": "2022-04-15 18:07:48"
},
{
"id": 4,
"name": "JavaScript",
"is_show": 1,
"opt": null,
"expand": {
"count": 0,
"color": "info"
},
"longtext": null,
"create_time": "2022-04-15 18:07:42",
"update_time": "2022-04-15 18:07:42"
},
{
"id": 3,
"name": "Go",
"is_show": 1,
"opt": null,
"expand": {
"count": 0,
"color": "info"
},
"longtext": null,
"create_time": "2022-04-15 18:05:51",
"update_time": "2022-04-15 18:05:51"
},
{
"id": 2,
"name": "ThinkPHP",
"is_show": 1,
"opt": null,
"expand": {
"count": 1,
"color": "dark"
},
"longtext": null,
"create_time": "2022-04-15 18:05:43",
"update_time": "2022-04-15 18:05:43"
},
{
"id": 1,
"name": "Vue",
"is_show": 1,
"opt": null,
"expand": {
"count": 0,
"color": "light"
},
"longtext": null,
"create_time": "2022-04-15 18:05:32",
"update_time": "2022-04-15 18:05:32"
}
]
}
}
最后修改时间: 2 年前