POST new/user/code/login
SA后台手机号验证码登录
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| account |
登录账号 |
string |
None. |
| mobile |
手机号 |
string |
None. |
| pwd |
密码 |
string |
None. |
| password |
加密后密码 |
string |
None. |
| code |
验证码 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"account": "sample string 1",
"mobile": "sample string 2",
"pwd": "sample string 3",
"password": "sample string 4",
"code": "sample string 5"
}
application/xml, text/xml
Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Models"> <Account>sample string 1</Account> <Code>sample string 5</Code> <Mobile>sample string 2</Mobile> <Password>sample string 4</Password> <Pwd>sample string 3</Pwd> </LoginModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </ApiDataResponse>