- 视频
- 用户
- 登录/注册
- 找回密码
根据视频分类获取视频
GET
/luckyjourney/index/video/type/{typeId}
请求参数
Path 参数
typeId
integer
分类id
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/video/type/' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"type": null,
"code": 0,
"state": true,
"message": "成功",
"data": [
{
"id": 4,
"isDeleted": false,
"gmtCreated": null,
"gmtUpdated": null,
"title": "123",
"description": null,
"url": "http://s36d82b8z.hn-bkt.clouddn.com/bandicam%202023-08-13%2021-39-27-935.mp4?e=1698398818&token=SXJerOTcNdkqu4NUTR5tQszp_3pSumPPSTsLlHSJ:4N6eMA6ruUeXKdz7R1DMEZBfMlA=",
"userId": 1,
"cover": null,
"open": false,
"status": 0,
"msg": null,
"auditStatus": false,
"startCount": 0,
"shareCount": 0,
"historyCount": 0,
"typeId": 1,
"typeName": null,
"userName": null,
"yv": null
}
],
"count": 0
}
修改于 2023-11-02 14:56:47