POST api/Account/CodeLogin
小程序用户jsCode 授权登陆
Request Information
URI Parameters
None.
Body Parameters
CodeLoginRequestsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
小程序用户jsCode |
string |
Required |
| EncryptedData |
包括敏感数据在内的完整用户信息的加密数据, |
string |
Required |
| Iv |
加密算法的初始向量 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"EncryptedData": "sample string 2",
"Iv": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultObjOfLoginResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mesg | string |
None. |
|
| Data | LoginResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mesg": "sample string 2",
"Data": {
"StaffId": "sample string 1",
"CompanyId": "sample string 2"
}
}