GET api/WareProduct/GetProductCategoryPage?pageIndex={pageIndex}&pageSize={pageSize}&categoryName={categoryName}

获取商品分类(分页)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageIndex

当前页

integer

Default value is 1

pageSize

每页条数

integer

Default value is 10

categoryName

分类名称

string

Default value is

Body Parameters

None.

Response Information

Resource Description

InfoResultOfPagerSourceOfMallProductCategoryInfoDto
NameDescriptionTypeAdditional information
Data

PagerSourceOfMallProductCategoryInfoDto

None.

IsSuccess

是否成功:true:成功,false:失败

boolean

None.

Msg

返回消息

string

None.

Extra

特定信息

string

None.

Code

内部代码:[成功 000000|失败 000001|未登陆/未授权 000002]

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Data": [
      {
        "CategoryId": 1,
        "CategoryName": "sample string 2",
        "OrderBy": 3
      },
      {
        "CategoryId": 1,
        "CategoryName": "sample string 2",
        "OrderBy": 3
      }
    ],
    "PageIndex": 1,
    "PageSize": 2,
    "RecordCount": 3,
    "PageCount": 4
  },
  "IsSuccess": true,
  "Msg": "sample string 2",
  "Extra": "sample string 3",
  "Code": "sample string 4"
}

application/xml, text/xml

Sample:
<InfoResultOfPagerSourceOfMallProductCategoryInfoDto8taVmWcUom1kJJU9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Core.ShareData">
  <Code>sample string 4</Code>
  <Extra>sample string 3</Extra>
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 2</Msg>
  <Data>
    <PageCount>4</PageCount>
    <PageIndex>1</PageIndex>
    <PageSize>2</PageSize>
    <RecordCount>3</RecordCount>
    <Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/CMS.Domain.Dto">
      <d3p1:MallProductCategoryInfoDto>
        <d3p1:CategoryId>1</d3p1:CategoryId>
        <d3p1:CategoryName>sample string 2</d3p1:CategoryName>
        <d3p1:OrderBy>3</d3p1:OrderBy>
      </d3p1:MallProductCategoryInfoDto>
      <d3p1:MallProductCategoryInfoDto>
        <d3p1:CategoryId>1</d3p1:CategoryId>
        <d3p1:CategoryName>sample string 2</d3p1:CategoryName>
        <d3p1:OrderBy>3</d3p1:OrderBy>
      </d3p1:MallProductCategoryInfoDto>
    </Data>
  </Data>
</InfoResultOfPagerSourceOfMallProductCategoryInfoDto8taVmWcUom1kJJU9>