POST api/Category/BatchSubmitCategory
后台--批量增加分类UpdateCategorySort
Request Information
URI Parameters
None.
Body Parameters
增加分类的信息
Collection of CategroySimpleDto| Name | Description | Type | Additional 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. |
| IsSkipCategory |
是否跳转链接 默认false,不可有二级 |
boolean |
None. |
| SkipCategoryUrl |
跳转链接 |
string |
None. |
| SkipCategoryPublishUrl |
跳转发布链接 |
string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
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>
<IsSkipCategory>true</IsSkipCategory>
<Isindex>12</Isindex>
<ListShowType>Transverse</ListShowType>
<MobileImage>sample string 10</MobileImage>
<Parentid>4</Parentid>
<SkipCategoryPublishUrl>sample string 15</SkipCategoryPublishUrl>
<SkipCategoryUrl>sample string 14</SkipCategoryUrl>
<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>
<IsSkipCategory>true</IsSkipCategory>
<Isindex>12</Isindex>
<ListShowType>Transverse</ListShowType>
<MobileImage>sample string 10</MobileImage>
<Parentid>4</Parentid>
<SkipCategoryPublishUrl>sample string 15</SkipCategoryPublishUrl>
<SkipCategoryUrl>sample string 14</SkipCategoryUrl>
<Styleid>3</Styleid>
<Type>Preset</Type>
<X>5.1</X>
<Y>6.1</Y>
</CategroySimpleDto>
</ArrayOfCategroySimpleDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
后台--批量增加分类UpdateCategorySort
ObjectNone.
Response Formats
application/json
Sample:
text/json
Sample:
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/" />