GET api/Post/GetAdminPostPages?Iskill={Iskill}&Isindex={Isindex}&IsGlobalTop={IsGlobalTop}&Istop={Istop}&Isjinghua={Isjinghua}&Classid={Classid}&CategoryId={CategoryId}&PageSize={PageSize}&Keywords={Keywords}&PageID={PageID}
后台--获取帖子信息 带分页
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Iskill |
是否审核 |
AuditStatusType |
None. |
Isindex |
焦点 |
boolean |
None. |
IsGlobalTop |
是否全局置顶 |
boolean |
None. |
Istop |
是否置顶 |
boolean |
None. |
Isjinghua |
是否精华 |
boolean |
None. |
Classid |
板块id 需要数据转接。根据小分类赋值大分类值 |
integer |
None. |
CategoryId |
板块内的分类id,即二级分类 |
integer |
None. |
PageSize |
每页条数 |
integer |
None. |
Keywords |
关键字 |
string |
None. |
PageID |
分页页数 |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
后台--获取帖子信息 带分页
PagedOfPostAdminSimpleDtoName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of PostAdminSimpleDto |
None. |
|
TotalRecord | integer |
None. |
|
TotalPage | integer |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<PagedOfPostAdminSimpleDtoRe2gxP_ST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Infrastructure.Pages"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Tieba.Service.Dto.Post"> <d2p1:PostAdminSimpleDto> <d2p1:CategoryId>6</d2p1:CategoryId> <d2p1:CategoryName>sample string 2</d2p1:CategoryName> <d2p1:ClassId>14</d2p1:ClassId> <d2p1:ClassName>sample string 1</d2p1:ClassName> <d2p1:Color>sample string 8</d2p1:Color> <d2p1:CreateTime>2024-04-27T12:03:32.5399925+08:00</d2p1:CreateTime> <d2p1:DataStatus>Effective</d2p1:DataStatus> <d2p1:Id>5</d2p1:Id> <d2p1:Ip>sample string 10</d2p1:Ip> <d2p1:IsBold>true</d2p1:IsBold> <d2p1:IsGlobalTop>true</d2p1:IsGlobalTop> <d2p1:IsIndex>true</d2p1:IsIndex> <d2p1:IsJinghua>true</d2p1:IsJinghua> <d2p1:IsReply>true</d2p1:IsReply> <d2p1:IsTop>true</d2p1:IsTop> <d2p1:Iskill>TobeAgree</d2p1:Iskill> <d2p1:KillReason>sample string 13</d2p1:KillReason> <d2p1:ReplyNum>3</d2p1:ReplyNum> <d2p1:Title>sample string 7</d2p1:Title> <d2p1:UserId>9</d2p1:UserId> <d2p1:UserName>sample string 4</d2p1:UserName> </d2p1:PostAdminSimpleDto> <d2p1:PostAdminSimpleDto> <d2p1:CategoryId>6</d2p1:CategoryId> <d2p1:CategoryName>sample string 2</d2p1:CategoryName> <d2p1:ClassId>14</d2p1:ClassId> <d2p1:ClassName>sample string 1</d2p1:ClassName> <d2p1:Color>sample string 8</d2p1:Color> <d2p1:CreateTime>2024-04-27T12:03:32.5399925+08:00</d2p1:CreateTime> <d2p1:DataStatus>Effective</d2p1:DataStatus> <d2p1:Id>5</d2p1:Id> <d2p1:Ip>sample string 10</d2p1:Ip> <d2p1:IsBold>true</d2p1:IsBold> <d2p1:IsGlobalTop>true</d2p1:IsGlobalTop> <d2p1:IsIndex>true</d2p1:IsIndex> <d2p1:IsJinghua>true</d2p1:IsJinghua> <d2p1:IsReply>true</d2p1:IsReply> <d2p1:IsTop>true</d2p1:IsTop> <d2p1:Iskill>TobeAgree</d2p1:Iskill> <d2p1:KillReason>sample string 13</d2p1:KillReason> <d2p1:ReplyNum>3</d2p1:ReplyNum> <d2p1:Title>sample string 7</d2p1:Title> <d2p1:UserId>9</d2p1:UserId> <d2p1:UserName>sample string 4</d2p1:UserName> </d2p1:PostAdminSimpleDto> </Data> <TotalPage>2</TotalPage> <TotalRecord>1</TotalRecord> </PagedOfPostAdminSimpleDtoRe2gxP_ST>