GET api/User/CheckRegUserName?name={name}&withOutUserId={withOutUserId}

查询用户昵称是否已经有注册

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

昵称

string

Required

withOutUserId

排除掉的userid

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

查询用户昵称是否已经有注册

boolean

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:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>