POST api/User/RealNameCollect

用户真实姓名、性别收集

Request Information

URI Parameters

None.

Body Parameters

用户姓名

PM_UserRealName
NameDescriptionTypeAdditional information
RealName

用户真实姓名[N50]

string

None.

Gender

用户性别,0女、1男

signed byte

None.

UserToken

当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传

string

None.

DomainName

来访域名(用户访问该站点时输入的域名)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RealName": "sample string 1",
  "Gender": 64,
  "UserToken": "sample string 3",
  "DomainName": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponseModel
NameDescriptionTypeAdditional information
State

执行结果反馈:1表示成功、0表示失败, -1用户Token验证失败, 其它出错类型(值将小于-1)与具体业务关联紧密,详情可见Msg描述内容

integer

None.

Msg

返回的错误或描述信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1,
  "Msg": "sample string 2"
}