POST api/Category/UpdateCategoryInfo
后台--更新分类信息
Request Information
URI Parameters
None.
Body Parameters
更新分类信息
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:
<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> <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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
后台--更新分类信息
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/" />