GET api/Article/GetPageArticlesByUser?Category={Category}&OrderWay={OrderWay}&IsCategoryPreset={IsCategoryPreset}&CategoryLevel={CategoryLevel}&PageNumber={PageNumber}&PageSize={PageSize}&Keywords={Keywords}&userId={userId}
前台--获取用户文章 带分页
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Category |
类别标识 |
integer |
None. |
OrderWay |
排序方式 |
ArticleOrderType |
None. |
IsCategoryPreset |
类型是否预置 |
CatgoryType |
None. |
CategoryLevel |
分类级别 1为一级 2为二级 以此类推 |
integer |
None. |
PageNumber |
页码 |
integer |
None. |
PageSize |
每页大小 |
integer |
None. |
Keywords |
关键字 |
string |
None. |
userId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
前台--获取用户文章 带分页
PagedOfArticleListItemDtoName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of ArticleListItemDto |
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:
<PagedOfArticleListItemDto9Om8LWzW 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.Article.Service.Dto.Article.FrontModel"> <d2p1:ArticleListItemDto> <d2p1:ArticleId>1</d2p1:ArticleId> <d2p1:ArticlePics xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mh.Article.Service.Model"> <d4p1:mh163k_News_pic> <Chrimage xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 3</Chrimage> <Dtappenddate xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2024-05-04T23:20:46.3797097+08:00</Dtappenddate> <Filepath xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 4</Filepath> <State xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">6</State> <ThirdId xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">5</ThirdId> <Intorder xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2</Intorder> <IsFirst xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">true</IsFirst> <d4p1:Id>1</d4p1:Id> </d4p1:mh163k_News_pic> <d4p1:mh163k_News_pic> <Chrimage xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 3</Chrimage> <Dtappenddate xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2024-05-04T23:20:46.3797097+08:00</Dtappenddate> <Filepath xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 4</Filepath> <State xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">6</State> <ThirdId xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">5</ThirdId> <Intorder xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2</Intorder> <IsFirst xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">true</IsFirst> <d4p1:Id>1</d4p1:Id> </d4p1:mh163k_News_pic> </d2p1:ArticlePics> <d2p1:Category1stDesp>sample string 6</d2p1:Category1stDesp> <d2p1:Category1stId>5</d2p1:Category1stId> <d2p1:Category2ndDesp>sample string 8</d2p1:Category2ndDesp> <d2p1:Category2ndId>7</d2p1:Category2ndId> <d2p1:CoverPicUrl>sample string 4</d2p1:CoverPicUrl> <d2p1:CreateTime>2024-05-04T23:20:46.3797097+08:00</d2p1:CreateTime> <d2p1:FontBold>true</d2p1:FontBold> <d2p1:FontColor>sample string 21</d2p1:FontColor> <d2p1:IntOrder>17</d2p1:IntOrder> <d2p1:Intro>sample string 3</d2p1:Intro> <d2p1:IsJudgeable>true</d2p1:IsJudgeable> <d2p1:IsNeedToPay>true</d2p1:IsNeedToPay> <d2p1:IsRemote>true</d2p1:IsRemote> <d2p1:IsSkip>true</d2p1:IsSkip> <d2p1:IsToutiao>true</d2p1:IsToutiao> <d2p1:IsTuijian>true</d2p1:IsTuijian> <d2p1:Likes>24</d2p1:Likes> <d2p1:Link>sample string 19</d2p1:Link> <d2p1:MobileTypographyStyle>Auto</d2p1:MobileTypographyStyle> <d2p1:PicNum>18</d2p1:PicNum> <d2p1:ReadNum>12</d2p1:ReadNum> <d2p1:Reverts>25</d2p1:Reverts> <d2p1:SkipUrl>sample string 23</d2p1:SkipUrl> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Type>9</d2p1:Type> <d2p1:TypeDesp>sample string 10</d2p1:TypeDesp> </d2p1:ArticleListItemDto> <d2p1:ArticleListItemDto> <d2p1:ArticleId>1</d2p1:ArticleId> <d2p1:ArticlePics xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mh.Article.Service.Model"> <d4p1:mh163k_News_pic> <Chrimage xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 3</Chrimage> <Dtappenddate xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2024-05-04T23:20:46.3797097+08:00</Dtappenddate> <Filepath xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 4</Filepath> <State xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">6</State> <ThirdId xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">5</ThirdId> <Intorder xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2</Intorder> <IsFirst xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">true</IsFirst> <d4p1:Id>1</d4p1:Id> </d4p1:mh163k_News_pic> <d4p1:mh163k_News_pic> <Chrimage xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 3</Chrimage> <Dtappenddate xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2024-05-04T23:20:46.3797097+08:00</Dtappenddate> <Filepath xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">sample string 4</Filepath> <State xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">6</State> <ThirdId xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">5</ThirdId> <Intorder xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">2</Intorder> <IsFirst xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.ImageFile">true</IsFirst> <d4p1:Id>1</d4p1:Id> </d4p1:mh163k_News_pic> </d2p1:ArticlePics> <d2p1:Category1stDesp>sample string 6</d2p1:Category1stDesp> <d2p1:Category1stId>5</d2p1:Category1stId> <d2p1:Category2ndDesp>sample string 8</d2p1:Category2ndDesp> <d2p1:Category2ndId>7</d2p1:Category2ndId> <d2p1:CoverPicUrl>sample string 4</d2p1:CoverPicUrl> <d2p1:CreateTime>2024-05-04T23:20:46.3797097+08:00</d2p1:CreateTime> <d2p1:FontBold>true</d2p1:FontBold> <d2p1:FontColor>sample string 21</d2p1:FontColor> <d2p1:IntOrder>17</d2p1:IntOrder> <d2p1:Intro>sample string 3</d2p1:Intro> <d2p1:IsJudgeable>true</d2p1:IsJudgeable> <d2p1:IsNeedToPay>true</d2p1:IsNeedToPay> <d2p1:IsRemote>true</d2p1:IsRemote> <d2p1:IsSkip>true</d2p1:IsSkip> <d2p1:IsToutiao>true</d2p1:IsToutiao> <d2p1:IsTuijian>true</d2p1:IsTuijian> <d2p1:Likes>24</d2p1:Likes> <d2p1:Link>sample string 19</d2p1:Link> <d2p1:MobileTypographyStyle>Auto</d2p1:MobileTypographyStyle> <d2p1:PicNum>18</d2p1:PicNum> <d2p1:ReadNum>12</d2p1:ReadNum> <d2p1:Reverts>25</d2p1:Reverts> <d2p1:SkipUrl>sample string 23</d2p1:SkipUrl> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Type>9</d2p1:Type> <d2p1:TypeDesp>sample string 10</d2p1:TypeDesp> </d2p1:ArticleListItemDto> </Data> <TotalPage>2</TotalPage> <TotalRecord>1</TotalRecord> </PagedOfArticleListItemDto9Om8LWzW>