接口:文章列表
接口:文章列表
接口详情
文章列表
zodram api
GET
接口地址
| 正式环境(prod) | https://zodream.cn/open/shop/article |
|
| 本地环境(dev) | http://zodream.localhost/open/shop/article |
Header参数
| 字段键 | 字段值 | 备注说明 |
|---|
请求参数
| 字段别名 | 字段含义 | 字段类型 | 是否必填 | 默认值 | 备注说明 |
|---|---|---|---|---|---|
| category | 分类id | 数字(number) | 是 | 1 | |
| page | page | 数字(number) | 是 | 1 |
响应参数
| 字段别名 | 字段含义 | 字段类型 | MOCK规则 | 备注说明 |
|---|---|---|---|---|
| paging | paging | 对象(object) | ||
| ᅡ limit | limit | 数字(number) | ||
| ᅡ offset | offset | 数字(number) | ||
| ᅡ total | total | 数字(number) | ||
| ᅡ more | more | 布尔型(boolean) | ||
| data | data | 数组(array) | ||
| ᅡ id | id | 数字(number) | ||
| ᅡ title | title | 字符串(string) | ||
| ᅡ thumb | thumb | 对象(null) | ||
| ᅡ cat_id | cat_id | 数字(number) | ||
| ᅡ 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) |
返回示例