接口路径(新):http://api.okayapi.com/api/App/Market_LastestNews/GetList
接口路径(旧):http://api.okayapi.com/?s=App.Market_LastestNews.GetList
接口描述: 分页获取新闻列表接口。使用前请先安装新闻动态插件
Parameter | Type | Required | Default | Note | Description |
---|---|---|---|---|---|
HTTP_APPKEY | String | Required | MIN: 32 | Common Put Your APPKEY | |
page | Int | Optaion | 1 | MIN: 1 | 第几页 |
perpage | Int | Optaion | 10 | MIN: 1;MAX: 5000 | 分页数量 |
KEY | Type | Description |
---|---|---|
err_code | Int | 操作码,0表示成功,9表示插件未安装 |
err_msg | String | 错误提示信息,err_code非0时参考此提示信息 |
接口路径(新):http://api.okayapi.com/api/App/Market_LastestNews/Detail
接口路径(旧):http://api.okayapi.com/?s=App.Market_LastestNews.Detail
接口描述: 根据新闻ID获取对应新闻详情,使用前请先安装新闻动态插件
Parameter | Type | Required | Default | Note | Description |
---|---|---|---|---|---|
HTTP_APPKEY | String | Required | MIN: 32 | Common Put Your APPKEY | |
id | Int | Required | 新闻ID |
KEY | Type | Description |
---|---|---|
err_code | Int | 操作码,0表示成功,正数表示业务失败场景,负数表示系统失败场景 |
err_msg | String | 错误提示信息,err_code非0时参考此提示信息 |
detail | Object | 新闻详情 |
Power by OkayAPI.com Contact us (WA: okayapi OR Email: chanzonghuang@gmail.com).
Timezone: America/New_York Apr/18/2024 08:28:50