POST api/manager/exit
【博物馆管理员】 退出登录
Request Information
URI Parameters
None.
Body Parameters
AdminLoginRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
用户名 |
string |
None. |
| password |
密码 |
string |
None. |
| code | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2",
"code": "sample string 3"
}
application/xml, text/xml
Sample:
<AdminLoginRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Api.Models.Request.Admin"> <code>sample string 3</code> <password>sample string 2</password> <username>sample string 1</username> </AdminLoginRequst>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
【博物馆管理员】 退出登录
MyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
-1表示失败,0表示成功 |
integer |
None. |
| msg |
错误信息 |
string |
None. |
| data |
响应消息 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<MyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tools"> <code>1</code> <data /> <msg>sample string 2</msg> </MyResponse>