This commit is contained in:
刘河
2019-03-20 13:47:25 +08:00
parent f43942413e
commit efa341c7e8
3 changed files with 8 additions and 3 deletions

View File

@@ -1761,7 +1761,11 @@ auth_key的生成方式为md5(配置文件中的auth_key+当前时间戳)
```
timestamp为当前时间戳
```
```
curl --request POST \
--url http://127.0.0.1:8080/client/list \
--data 'auth_key=2a0000d9229e7dbcf79dd0f5e04bb084&timestamp=1553045344&start=0&limit=10'
```
**注意:** 为保证安全时间戳的有效范围为20秒内所以每次提交请求必须重新生成。
### 获取服务端authKey