数据库示例 - 获取数据
API Description: 根据ID获取数据库中的一条纪录数据
| Parameter Name | Type | Is Required | Default | Note | Description |
|---|---|---|---|---|---|
| sign | string | Required | 签名认证 | ||
| timestamp | string | Required | 时间戳 | ||
| ext | string | Optional | 渠道编号 | ||
| versioncode | int | Optional | 当前版本ID | ||
| language | int | Optional | 1 | 语言:1英文2繁体 | |
| unique_id | string | Optional | 手机唯一id | ||
| id | int | Required | min: 1 | ID |
| Parameter Name | Type | Description |
|---|---|---|
| id | int | 主键ID |
| title | string | 标题 |
| content | string | 内容 |
| state | int | 状态 |
| post_date | string | 发布日期 |
| Error Status | Error Description |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| Parameter | Is Required | Value |
|---|---|---|
| service | Required | |
| sign | Required | |
| timestamp | Required | |
| ext | Optional | |
| versioncode | Optional | |
| language | Optional | |
| unique_id | Optional | |
| id | Required |
# 暂无示例,可添加示例文件:./src/view/docs/demos/App.Examples_CURD.Get.json
A PHP framework foucs on API fast development.
© 2015-2025 Powered By PhalApi API Framework 2.23.0
专业版