新闻-内容
开发中
GET
https://api.chasing.comnews/detail
请求参数
Query 参数
id
string
新闻id
示例代码
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/detail?id'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
id
integer
id
title
string
标题
author
string
作者
seo_title
string
必需
seo_desc
string
必需
seo_key
string
必需
publish_time
string
发布时间
content
string
h5 内容
示例
{
"code": 200,
"msg": "success",
"data": {
"id": 3,
"title": "测试111",
"author": "qweqw",
"seo_title": "dasd",
"seo_desc": "wewq",
"seo_key": "ewqe111",
"publish_time": "2022-08-19 13:10",
"content": "<p>请输入内容打打大青蛙人我去而我却</p>"
}
}
修改于 2024-11-18 07:06:18