POST api/SysConfig/AddArticleInfo
添加 信息
Request Information
URI Parameters
None.
Body Parameters
添加信息
ArticleInfoDtoName | Description | Type | Additional information |
---|---|---|---|
id |
主键id |
integer |
None. |
title |
标题 |
string |
None. |
intorder |
排序值 |
integer |
None. |
content |
内容 |
string |
None. |
ifshow |
状态(0显示、1隐藏) |
integer |
None. |
styleid |
信息类型 |
ArticleInfoStyle |
None. |
Users |
发布人 |
string |
None. |
color |
标题颜色 |
string |
None. |
chrurl |
跳转链接 |
string |
None. |
categoryid |
分类id(mh163k_category表) |
integer |
None. |
hits |
点击数 |
integer |
None. |
chrimage |
配图 |
string |
None. |
dtappenddate |
添加时间 |
date |
None. |
isBoldFont |
是否加粗 |
boolean |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArticleInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.ArticleInfo"> <Users>sample string 6</Users> <categoryid>9</categoryid> <chrimage>sample string 11</chrimage> <chrurl>sample string 8</chrurl> <color>sample string 7</color> <content>sample string 4</content> <dtappenddate>2024-05-04T15:16:58.2228063+08:00</dtappenddate> <hits>10</hits> <id>1</id> <ifshow>5</ifshow> <intorder>3</intorder> <isBoldFont>true</isBoldFont> <styleid>All</styleid> <title>sample string 2</title> </ArticleInfoDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
添加 信息
ObjectNone.
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/" />