接口:文章详情
接口:文章详情
接口详情
文章详情
zodram api
GET
接口地址
| 正式环境(prod) | https://zodream.cn/open/shop/article |
|
| 本地环境(dev) | http://zodream.localhost/open/shop/article |
Header参数
| 字段键 | 字段值 | 备注说明 |
|---|
请求参数
| 字段别名 | 字段含义 | 字段类型 | 是否必填 | 默认值 | 备注说明 |
|---|---|---|---|---|---|
| id | id | 数字(number) | 是 | 1 |
响应参数
| 字段别名 | 字段含义 | 字段类型 | MOCK规则 | 备注说明 |
|---|---|---|---|---|
| id | id | 数字(number) | ||
| cat_id | cat_id | 数字(number) | ||
| title | title | 字符串(string) | ||
| keywords | keywords | 对象(null) | ||
| thumb | thumb | 对象(null) | ||
| description | description | 对象(null) | ||
| brief | brief | 对象(null) | ||
| url | url | 对象(null) | ||
| file | file | 对象(null) | ||
| content | content | 字符串(string) | ||
| created_at | created_at | 字符串(string) | ||
| updated_at | updated_at | 字符串(string) | ||
| category | category | 对象(object) | ||
| ᅡ id | id | 数字(number) | ||
| ᅡ name | name | 字符串(string) | ||
| ᅡ keywords | keywords | 对象(null) | ||
| ᅡ description | description | 对象(null) | ||
| ᅡ parent_id | parent_id | 数字(number) | ||
| ᅡ position | position | 数字(number) |
返回示例