POST api/News/UpdateNewsSuperInfo

后台--超级管理更新

Request Information

URI Parameters

None.

Body Parameters

NewsSuperUpdateDto
NameDescriptionTypeAdditional information
Id

文章id

integer

None.

IsToutiao

头条

boolean

None.

IsJiaodian

焦点

boolean

None.

JiaodianFilepath

焦点封面

string

None.

IsTuijian

是否推荐?

boolean

None.

ToutiaoDateTime

头条失效时间 空表示无限期

date

None.

TuijianDateTime

推荐失效时间 空表示无限期

date

None.

JiaodianDateTime

焦点失效时间 空表示无限期

date

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<NewsSuperUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.News">
  <Id>1</Id>
  <IsJiaodian>true</IsJiaodian>
  <IsToutiao>true</IsToutiao>
  <IsTuijian>true</IsTuijian>
  <JiaodianDateTime>2024-04-30T01:25:33.176047+08:00</JiaodianDateTime>
  <JiaodianFilepath>sample string 4</JiaodianFilepath>
  <ToutiaoDateTime>2024-04-30T01:25:33.176047+08:00</ToutiaoDateTime>
  <TuijianDateTime>2024-04-30T01:25:33.176047+08:00</TuijianDateTime>
</NewsSuperUpdateDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NewsSuperUpdateDto'.

Response Information

Resource Description

后台--超级管理更新

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

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/" />