Skip to content

Commit a00bcd7

Browse files
authored
docs: update docs. (#175)
1 parent 4990637 commit a00bcd7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/restapi/apis/authenticationManagement/getToken.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ hide_title: true
1414

1515
- 获取 APP 管理员 token。
1616

17-
⚠️ **注意**: OpenIM Server 内置了一个 APP 管理员,它的 `userID``imAdmin`
17+
⚠️ **注意**: OpenIM Server 内置了一个 APP 管理员,它的 `userID``imAdmin`
1818

1919
### 请求方式
2020

@@ -36,15 +36,15 @@ hide_title: true
3636
{
3737
"secret": "openIM123",
3838
"platformID": 1,
39-
"userID": "111111"
39+
"userID": "imAdmin"
4040
}
4141
```
4242

4343
| 字段名 | 选填 | 类型 | 说明 |
4444
| :--------- | :--- | :----- | ----------------------------------------------------------------------------------------------------------------- |
4545
| secret | 必填 | string | openIM 密钥,见 config/share.yaml 中 secret 字段 |
4646
| platformID | 必填 | int | 平台 ID, 1:IOS,2:Android,3:Windows,4:OSX,5:Web,6:MiniWeb,7:Linux,8:Android Pad,9:IPad,10:admin |
47-
| userID | 必填 | string | 用户 ID 或管理员 ID, 如生成管理员 token, 需填写 `imAdmin` |
47+
| userID | 必填 | string | APP 管理员 ID,`imAdmin` |
4848

4949
### 成功返回示例
5050

docs/restapi/apis/authenticationManagement/getUserToken.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ hide_title: true
1414

1515
- 获取用户的 token。
1616

17-
⚠️ **注意**: OpenIM Server 内置了一个 APP 管理员,它的 `userID``imAdmin`
1817

1918
### 请求方式
2019

docs/restapi/apis/userManagement/userRegister.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ hide_title: true
2727
| header 名 | 示例值 | 选填 | 类型 | 说明 |
2828
| :---------- | :------------ | :--- | ------ | ---------------------------- |
2929
| operationID | 1646445464564 | 必填 | string | 用于全局链路追踪,建议使用时间戳,在每个请求中独立 |
30+
| token | eyJhbxxxx3Xs | 必填 | string | [管理员 token](docs/restapi/apis/authenticationManagement/getToken.mdx) |
3031

3132
### 请求参数示例
3233

0 commit comments

Comments
 (0)