POST api/User/LoginUserByName

前台用户名密码登陆

Request Information

URI Parameters

None.

Body Parameters

登录参数

FrontUserLoginDto
NameDescriptionTypeAdditional information
UserName

用户名

string

None.

Password

密码

string

None.

CaptchaParam

智能验证与滑动验证时使用

CloudCaptchaParamDto

None.

NvcCaptchaParam

无痕验证时使用

AliNvcCaptchaParamDto

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<FrontUserLoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.User">
  <CaptchaParam xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService">
    <d2p1:AppKey>sample string 6</d2p1:AppKey>
    <d2p1:Mh163K_VerifyCode>sample string 9</d2p1:Mh163K_VerifyCode>
    <d2p1:RandomStr>sample string 8</d2p1:RandomStr>
    <d2p1:RemoteIp>sample string 1</d2p1:RemoteIp>
    <d2p1:Scene>sample string 5</d2p1:Scene>
    <d2p1:SessionId>sample string 2</d2p1:SessionId>
    <d2p1:Sig>sample string 3</d2p1:Sig>
    <d2p1:Ticket>sample string 7</d2p1:Ticket>
    <d2p1:Token>sample string 4</d2p1:Token>
    <d2p1:TxCaptchaSceneType>Tx_Captcha</d2p1:TxCaptchaSceneType>
  </CaptchaParam>
  <NvcCaptchaParam xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.CloudService.AliCloud.Captcha">
    <d2p1:NVCValue>sample string 1</d2p1:NVCValue>
    <d2p1:Scores>
      <d2p1:AliNvcScoreDto>
        <d2p1:Judge>sample string 2</d2p1:Judge>
        <d2p1:Score>1</d2p1:Score>
      </d2p1:AliNvcScoreDto>
      <d2p1:AliNvcScoreDto>
        <d2p1:Judge>sample string 2</d2p1:Judge>
        <d2p1:Score>1</d2p1:Score>
      </d2p1:AliNvcScoreDto>
    </d2p1:Scores>
  </NvcCaptchaParam>
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</FrontUserLoginDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

前台用户名密码登陆

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

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