Skip to content

Commit e29e1b2

Browse files
authored
Merge pull request #164 from mo3et/webh/fie
docs: update secret contents path.
2 parents 67d2cbc + 0a1d9ef commit e29e1b2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/restapi/apis/authenticationManagement/getToken.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ hide_title: true
4242

4343
| 字段名 | 选填 | 类型 | 说明 |
4444
| :--------- | :--- | :----- | ----------------------------------------------------------------------------------------------------------------- |
45-
| secret | 必填 | string | openIM 密钥,见 config/config.yaml 中 secret 字段 |
45+
| 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 |
4747
| userID | 必填 | string | 用户 ID 或管理员 ID, 如生成管理员 token, 需填写 `imAdmin` |
4848

docs/restapi/apis/userManagement/userRegister.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ hide_title: true
4343
}
4444
```
4545

46-
| 字段名 | 选填 | 类型 | 说明 |
47-
| :------------- | :--- | :----- | ------------------------------------------------- |
48-
| secret | 必填 | string | openIM 密钥,见 config/config.yaml 中 secret 字段 |
49-
| users | 必填 | array | 用户列表 |
50-
| users.userID | 必填 | string | 用户 ID |
51-
| users.nickname | 必填 | string | 用户昵称 |
52-
| users.faceURL | 必填 | string | 用户头像链接 |
46+
| 字段名 | 选填 | 类型 | 说明 |
47+
| :------------- | :--- | :----- | ------------------------------------------------ |
48+
| secret | 必填 | string | openIM 密钥,见 config/share.yaml 中 secret 字段 |
49+
| users | 必填 | array | 用户列表 |
50+
| users.userID | 必填 | string | 用户 ID |
51+
| users.nickname | 必填 | string | 用户昵称 |
52+
| users.faceURL | 必填 | string | 用户头像链接 |
5353

5454
### 成功返回示例
5555

0 commit comments

Comments
 (0)