Commit bb7b011e by 宋毅

tj

parent 053858c5
......@@ -4,7 +4,7 @@
## **<a name="getToken"> 获取token</a>**
[返回到目录](#menu) <a name="menu" href="/doc">返回主目录</a>
##### URL
##### (1)URL 前端获取token示例
[/web/auth/accessAuth/getAppTokenByHosts]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
......@@ -15,8 +15,8 @@
"actionBody":{}
}
```
##### 或
##### URL
##### (2)URL 后端请求获取token示例
[/api/auth/accessAuth/getAppTokenByAppKey]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
......@@ -24,8 +24,8 @@
{
"actionType":"getAppTokenByAppKey",//固定写法就行
"actionBody":{
"appkey": "2019090811", //Y string appkey
"secret": "f99d413b767f09b5dff0b3610366cc46"//Y string 密钥
"appkey": "2019090811", //Y string appkey,使用时问平台获取
"secret": "f99d413b767f09b5dff0b3610366cc46"//Y string 密钥,使用时问平台获取
}
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment