ci
This commit is contained in:
@@ -9,7 +9,7 @@ weight: 6
|
||||
|
||||
### 流程图
|
||||
|
||||

|
||||

|
||||
|
||||
## 接口说明
|
||||
|
||||
@@ -23,12 +23,12 @@ weight: 6
|
||||
method : GET
|
||||
content-Type : application/x-www-form-urlencoded
|
||||
token:Token
|
||||
func_id:功能ID
|
||||
funcId:功能ID
|
||||
|
||||
eg.
|
||||
|
||||
```http
|
||||
GET /auth?token=ZW9xpZTdvamE4SWVTNmkK&func_id=10001 HTTP/1.1
|
||||
GET /auth?token=ZW9xpZTdvamE4SWVTNmkK&funcId=10001 HTTP/1.1
|
||||
Content-Type : application/x-www-form-urlencoded
|
||||
Host: localhost: 8888
|
||||
Connection: keep-alive
|
||||
@@ -37,15 +37,17 @@ weight: 6
|
||||
- 返回
|
||||
|
||||
根据http state来判断是否鉴权成功;200:鉴权通过 403:鉴权失败
|
||||
funcSet: 满足条件的funcId集合,以逗号符分割
|
||||
|
||||
eg. 成功:
|
||||
|
||||
```http
|
||||
HTTP/1.1 200 OK
|
||||
Date: Wed, 13 Jan 2021 15:27:25 GMT
|
||||
Content-Type : application/xml
|
||||
Content-Length: 52
|
||||
|
||||
Content-Length: 20
|
||||
100001,100002,100005
|
||||
<root><funcSet>100001,100002,100005</funcSet></root>
|
||||
```
|
||||
|
||||
eg. 失败:
|
||||
|
||||
Reference in New Issue
Block a user