POST api/Mobile/Login
“Login”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| data | “data”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"UName": "sample string 1",
"Pwd": "sample string 2",
"Code": "sample string 3"
}
application/xml, text/xml
Sample:
<LoginData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YII.ZXY.Model.Mobile.Form"> <_x003C_Code_x003E_k__BackingField>sample string 3</_x003C_Code_x003E_k__BackingField> <_x003C_Pwd_x003E_k__BackingField>sample string 2</_x003C_Pwd_x003E_k__BackingField> <_x003C_UName_x003E_k__BackingField>sample string 1</_x003C_UName_x003E_k__BackingField> </LoginData>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"Data": {},
"Sound": 2,
"Code": 3,
"Msg": "sample string 4"
}