POST http://apigate.hsifue.cn/gcad/oauth2/token
在调用其他API之前,必须先获取token。token的有效期为7天
| 类型 | 名称 | 说明 | 类型 |
|---|---|---|---|
| Header | Authorization 必填 | Basic MjNpNDZMTTJkRHBYdHg1ZjRtR0k3YVpQRjlvTDJBWkM6Q09TVTZ4NGpvMHJTeWkwYlVOa29ESDZlelVDVkpLeGg= | string |
| HTTP代码 | 说明 | 类型 |
|---|---|---|
| 200 | OK | 请求成功返回结果 |
| 201 | Created | 无内容 |
| 401 | Unauthorized | 无内容 |
| 403 | Forbidden | 无内容 |
| 404 | Not Found | 无内容 |
请求 path
http://apigate.hsifue.cn/gcad/oauth2/token
请求 header
"Basic MjNpNDZMTTJkRHBYdHg1ZjRtR0k3YVpQRjlvTDJBWkM6Q09TVTZ4NGpvMHJTeWkwYlVOa29ESDZlelVDVkpLeGg="
{
"code": "success",
"message": null,
"data": {
"expireTime": "2022-06-23 10:08:16",
"token": "1e4480ae1e1943f984cda549b4393240"
}
}