- 视频
- 用户
- 登录/注册
- 找回密码
获取所有分类
GET
/luckyjourney/index/types
请求参数
Header 参数
token
string
token
示例代码
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://127.0.0.1:8882/luckyjourney/index/types' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
type
null
必需
code
integer
必需
state
boolean
必需
message
string
必需
data
array [object {7}]
必需
id
integer
必需
isDeleted
boolean
必需
gmtCreated
null
必需
gmtUpdated
null
必需
name
string
必 需
description
string | null
必需
open
boolean
必需
count
integer
必需
示例
{"type":null,"code":0,"state":true,"message":"成功","data":[{"id":1,"isDeleted":false,"gmtCreated":null,"gmtUpdated":null,"name":"体育频道","description":"与体育赛事、体坛传奇相关时评","open":false},{"id":2,"isDeleted":false,"gmtCreated":null,"gmtUpdated":null,"name":"游戏频道","description":"与游戏赛事、游戏直播、游戏解说、游戏教学相关时评","open":false},{"id":3,"isDeleted":false,"gmtCreated":null,"gmtUpdated":null,"name":"美食频道","description":"与美食展示,美食教学相关时评","open":false},{"id":4,"isDeleted":false,"gmtCreated":null,"gmtUpdated":null,"name":"美女","description":null,"open":false},{"id":5,"isDeleted":false,"gmtCreated":null,"gmtUpdated":null,"name":"宠物","description":null,"open":false}],"count":0}