POST api/LiveBroadcostHomePage/MemberUpdateHomePageContent

会员中心- 更新主页内容

Request Information

URI Parameters

None.

Body Parameters

更新信息

HomePageCreateDto
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

前台无需传递

integer

None.

UserName

用户名

string

None.

UserHeadPic

用户头像

string

None.

HomePageContent

主页简介

string

None.

IsAuth

是否认证

boolean

None.

WeChat

微信号

string

None.

WeChatUrl

微信二维码

string

None.

BirthYear

出生-年

string

None.

BirthMonth

出生-月

string

None.

BirthDate

出生-日

string

None.

Area

地区

string

None.

BackgroundFile

背景主题图

string

None.

Sex

SexType

None.

NewHomePageContent

待审核的主页介绍

string

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:
<HomePageCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Dto">
  <Area>sample string 12</Area>
  <BackgroundFile>sample string 13</BackgroundFile>
  <BirthDate>sample string 11</BirthDate>
  <BirthMonth>sample string 10</BirthMonth>
  <BirthYear>sample string 9</BirthYear>
  <HomePageContent>sample string 5</HomePageContent>
  <Id>1</Id>
  <IsAuth>true</IsAuth>
  <NewHomePageContent>sample string 14</NewHomePageContent>
  <Sex>Male</Sex>
  <UserHeadPic>sample string 4</UserHeadPic>
  <UserId>2</UserId>
  <UserName>sample string 3</UserName>
  <WeChat>sample string 7</WeChat>
  <WeChatUrl>sample string 8</WeChatUrl>
</HomePageCreateDto>

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 'HomePageCreateDto'.

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