GET api/Category/GetCategoryInfoByid?categoryId={categoryId}&catgoryType={catgoryType}

根据分类id获取分类信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

分类标识

integer

Required

catgoryType

内置还是非内置

CatgoryType

Default value is Custom

Body Parameters

None.

Response Information

Resource Description

根据分类id获取分类信息

CategroySimpleDto
NameDescriptionTypeAdditional information
CategoryID

自增长id

integer

None.

Chrcategory

分类名称

string

None.

Styleid

分类组别id

integer

None.

Parentid

父节点

integer

None.

X

区域所用到的X坐标

decimal number

None.

Y

区域所用到的Y坐标

decimal number

None.

Chrimage

分类PC端图片

string

None.

Ckeyword

关键字

string

None.

Chrcontent

分类内容

string

None.

MobileImage

手机端图标

string

None.

Type

分类内置类型

CatgoryType

None.

IsClose

是否关闭 0 表示未关闭 1 表示关闭

integer

None.

Isindex

是否热门

integer

None.

ListShowType

列表页显示样式

ShowType

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<CategroySimpleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Categroy">
  <CategoryID>1</CategoryID>
  <Chrcategory>sample string 2</Chrcategory>
  <Chrcontent>sample string 9</Chrcontent>
  <Chrimage>sample string 7</Chrimage>
  <Ckeyword>sample string 8</Ckeyword>
  <IsClose>11</IsClose>
  <Isindex>12</Isindex>
  <ListShowType>Transverse</ListShowType>
  <MobileImage>sample string 10</MobileImage>
  <Parentid>4</Parentid>
  <Styleid>3</Styleid>
  <Type>Preset</Type>
  <X>5.1</X>
  <Y>6.1</Y>
</CategroySimpleDto>