POST api/User/AdmingUpdateFrontUser

后台-编辑网站用户

Request Information

URI Parameters

None.

Body Parameters

UserUpdateByAdminDto
NameDescriptionTypeAdditional information
Userid

用户自增长id

integer

None.

Chrpwd

用户密码

string

None.

ChrTel

手机号码

string

None.

Chrtruename

用户真实名称

string

None.

Chremail

邮箱

string

None.

Chrqq

qq号码

string

None.

AddJifenNum

金币数量

integer

None.

AddOrReduce

增加还是减少金币,true代表增加

boolean

None.

AddReason

添加理由

string

None.

ChrPic

个人头像

string

None.

VipNum

会员身份标识

integer

None.

AddBalanceNum

增加余额

decimal number

None.

BalanceAddOrReduce

增加还是减少余额,true代表增加

boolean

None.

AddBalanceReason

添加余额理由

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:
<UserUpdateByAdminDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.User">
  <AddBalanceNum>11</AddBalanceNum>
  <AddBalanceReason>sample string 12</AddBalanceReason>
  <AddJifenNum>7</AddJifenNum>
  <AddOrReduce>true</AddOrReduce>
  <AddReason>sample string 8</AddReason>
  <BalanceAddOrReduce>true</BalanceAddOrReduce>
  <ChrPic>sample string 9</ChrPic>
  <ChrTel>sample string 3</ChrTel>
  <Chremail>sample string 5</Chremail>
  <Chrpwd>sample string 2</Chrpwd>
  <Chrqq>sample string 6</Chrqq>
  <Chrtruename>sample string 4</Chrtruename>
  <Userid>1</Userid>
  <VipNum>10</VipNum>
</UserUpdateByAdminDto>

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

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