POST api/Category/BatchSubmitCategory

后台--批量增加分类UpdateCategorySort

Request Information

URI Parameters

None.

Body Parameters

增加分类的信息

Collection of 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.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfCategroySimpleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Categroy">
  <CategroySimpleDto>
    <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>
  <CategroySimpleDto>
    <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>
</ArrayOfCategroySimpleDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

后台--批量增加分类UpdateCategorySort

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />