新闻-列表
开发中
GET
https://api.chasing.comnews/index
请求参数
Query 参数
page
string
可选
limit
string
可选
id
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 'https://api.chasing.comnews/index?page&limit&id'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
total
integer
必需
per_page
integer
必需
current_page
integer
必需
last_page
integer
必需
data
array [object {7}]
必需
示例
{
"code": 200,
"msg": "success",
"data": {
"total": 2,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 4,
"title": "测试1",
"desc": "打",
"image": "http://test.static.chasing.com/FuVLaLbfKrytviDHVCqkq65zAqcU",
"lang_code": "中文",
"author": "das ",
"publish_time": "2022-08-19 14:15"
},
{
"id": 3,
"title": "测试111",
"desc": "从撒旦撒",
"image": "http://test.static.chasing.com/Fpl_VHt0KxPLBY14qgtt3Llld2ng",
"lang_code": "中文",
"author": "qweqw",
"publish_time": "2022-08-19 13:10"
}
]
}
}
修改于 2024-11-18 07:07:37