GET News
获取关键词新闻
请求信息详情
URI 参数
None.
Body 参数
搜索实体
Conditions名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
page |
页码 |
integer |
None. |
pagesize |
每页记录数 |
integer |
None. |
keyword |
关键字 |
string |
None. |
btype |
企业类型ID,多个逗号隔开 |
string |
None. |
categoryid |
分类ID,多个逗号隔开 |
string |
None. |
source |
来源 |
string |
None. |
iIspic |
是否带图片的新闻 |
boolean |
None. |
isvote |
是否带投票的新闻 |
boolean |
None. |
pubtime |
发布时间 |
string |
None. |
createdTime |
创建时间(与发布时间二选一) |
string |
None. |
newstime |
新闻时间 |
string |
None. |
sortfield |
排序字段 |
OrderType |
None. |
isdesc |
是否降序 |
boolean |
None. |
userid |
用户ID |
integer |
None. |
keywordslist |
新闻关键词列表 |
string |
None. |
istg |
是否推广搞信息 |
boolean |
None. |
请求格式
application/json, text/json
Sample:
{ "page": 1, "pagesize": 2, "keyword": "sample string 3", "btype": "sample string 4", "categoryid": "sample string 5", "source": "sample string 6", "iIspic": true, "isvote": true, "pubtime": "sample string 9", "createdTime": "sample string 10", "newstime": "sample string 11", "sortfield": 0, "isdesc": true, "userid": 13, "keywordslist": "sample string 14", "istg": true }
application/x-www-form-urlencoded
Sample:
响应信息
资源描述
获取关键词新闻
Collection of NewsPage名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
page |
分页实体类 |
Collection of PageInfo |
None. |
news |
新闻实体类 |
Collection of NewsInfo |
None. |
响应结果格式
application/json, text/json
Sample:
[ { "page": [ { "Name": "sample string 1", "Rows": 2, "PageSize": 3, "Page": 4, "PageNum": 1 }, { "Name": "sample string 1", "Rows": 2, "PageSize": 3, "Page": 4, "PageNum": 1 } ], "news": [ { "Id": 1, "Title": "sample string 2", "Laiyuan": "sample string 3", "NewsTime": "2024-11-19 01:23:05", "CreatedTime": "2024-11-19 01:23:05", "HtmlUrl": "sample string 6" }, { "Id": 1, "Title": "sample string 2", "Laiyuan": "sample string 3", "NewsTime": "2024-11-19 01:23:05", "CreatedTime": "2024-11-19 01:23:05", "HtmlUrl": "sample string 6" } ] }, { "page": [ { "Name": "sample string 1", "Rows": 2, "PageSize": 3, "Page": 4, "PageNum": 1 }, { "Name": "sample string 1", "Rows": 2, "PageSize": 3, "Page": 4, "PageNum": 1 } ], "news": [ { "Id": 1, "Title": "sample string 2", "Laiyuan": "sample string 3", "NewsTime": "2024-11-19 01:23:05", "CreatedTime": "2024-11-19 01:23:05", "HtmlUrl": "sample string 6" }, { "Id": 1, "Title": "sample string 2", "Laiyuan": "sample string 3", "NewsTime": "2024-11-19 01:23:05", "CreatedTime": "2024-11-19 01:23:05", "HtmlUrl": "sample string 6" } ] } ]