POST api/Article/GetArticlePageList

文章搜索 (分页)

Request Information

URI Parameters

None.

Body Parameters

ArticleSearchPagingModel
NameDescriptionTypeAdditional information
Keywords

关键词

string

None.

ArticleType

文章类型

ArticleType

None.

Page

页码 (从1开始)

integer

None.

PageSize

分页大小

integer

None.

Sort

排序字段

string

None.

Order

排序方向

SortDirection

None.

Request Formats

application/json, text/json

Sample:
{
  "Keywords": "sample string 1",
  "ArticleType": 1,
  "Page": 2,
  "PageSize": 3,
  "Sort": "sample string 4",
  "Order": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiReturnModelOfListOfArticleResultModel
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

Collection of ArticleResultModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Message": "sample string 1",
  "Data": [
    {
      "Id": "e33a5810-c202-425d-94cb-1b372f0f513d",
      "Title": "sample string 2",
      "Summary": "sample string 3",
      "ArticleType": 1,
      "CoverFileId": "cd1bb60a-6ee4-44b1-87a1-d1cc9d89b637",
      "CoverFilePhysicalName": "sample string 4",
      "CoverFilePath": "sample string 5",
      "CoverUrl": "/FileRoot/sample string 5sample string 4",
      "Html": "sample string 6"
    },
    {
      "Id": "e33a5810-c202-425d-94cb-1b372f0f513d",
      "Title": "sample string 2",
      "Summary": "sample string 3",
      "ArticleType": 1,
      "CoverFileId": "cd1bb60a-6ee4-44b1-87a1-d1cc9d89b637",
      "CoverFilePhysicalName": "sample string 4",
      "CoverFilePath": "sample string 5",
      "CoverUrl": "/FileRoot/sample string 5sample string 4",
      "Html": "sample string 6"
    }
  ]
}