POST api/daytour/2b/gettoken
获取token
Request Information
URI Parameters
None.
Body Parameters
DayTour2BTokenReqContractName | Description | Type | Additional information |
---|---|---|---|
account |
账户 |
string |
None. |
password |
密码 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "account": "sample string 1", "password": "sample string 2" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取token
ReturnResultOfDayTour2BTokenRespContractName | Description | Type | Additional information |
---|---|---|---|
data | DayTour2BTokenRespContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "token": "sample string 1", "expire_in": 2 }, "code": 1, "message": "sample string 2" }