Skip to content

Commit 0f41762

Browse files
authored
docs: update request url contents. (#170)
1 parent 0ca7355 commit 0f41762

52 files changed

Lines changed: 72 additions & 72 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/restapi/apis/authenticationManagement/getToken.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
sidebar_position: 2
3-
title: 以secret获取token
2+
sidebar_position: 1
3+
title: 获取用户token
44
hide_title: true
55
---
66

77
<center>
88

9-
## 以 secret 获取 token
9+
## 获取用户 token
1010

1111
</center>
1212

@@ -26,8 +26,8 @@ hide_title: true
2626

2727
### Header
2828

29-
| header 名 | 示例值 | 选填 | 类型 | 说明 |
30-
| :---------- | :------------ | :--- | ------ | ---------------------------- |
29+
| header 名 | 示例值 | 选填 | 类型 | 说明 |
30+
| :---------- | :------------ | :--- | ------ | -------------------------------------------------- |
3131
| operationID | 1646445464564 | 必填 | string | 用于全局链路追踪,建议使用时间戳,在每个请求中独立 |
3232

3333
### 请求参数示例
@@ -65,8 +65,8 @@ hide_title: true
6565
| 参数名 | 类型 | 说明 |
6666
| :---------------- | :----- | :--------------------------- |
6767
| errCode | int | 错误码,0 表示成功 |
68-
| errMsg | string | 错误简要信息,为空 |
69-
| errDlt | errDlt | 错误详细信息,为空 |
68+
| errMsg | string | 错误简要信息,为空 |
69+
| errDlt | errDlt | 错误详细信息,为空 |
7070
| data | object | 通用数据对象,具体结构见下方 |
7171
| token | string | 获取到的用户 token |
7272
| expireTimeSeconds | string | token 的过期时间(单位秒) |

docs/restapi/apis/authenticationManagement/getUserToken.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
sidebar_position: 1
3-
title: 获取普通用户token
2+
sidebar_position: 2
3+
title: 管理员获取用户token
44
hide_title: true
55
---
66

77
<center>
88

9-
## 获取普通用户 token
9+
## 管理员获取用户 token
1010

1111
</center>
1212

docs/restapi/apis/conversationManagement/getOwnerConversation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hide_title: true
1515
### 请求方式
1616
- `post`
1717
### 请求URL
18-
- `http://x.x.x.x:10002/conversation/get_owner_conversation`
18+
- `{API_ADDRESS}/conversation/get_owner_conversation`
1919

2020
### Header
2121

docs/restapi/apis/conversationManagement/getSortedConversationList.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hide_title: true
1515
### 请求方式
1616
- `post`
1717
### 请求URL
18-
- `http://x.x.x.x:10002/conversation/get_sorted_conversation_list`
18+
- `{API_ADDRESS}/conversation/get_sorted_conversation_list`
1919

2020
### Header
2121

docs/restapi/apis/conversationManagement/setConversations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hide_title: true
1515
### 请求方式
1616
- `post`
1717
### 请求URL
18-
- `http://x.x.x.x:10002/conversation/set_conversations`
18+
- `{API_ADDRESS}/conversation/set_conversations`
1919

2020

2121
### Header

docs/restapi/apis/friendsManagement/addBlackList.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 12
2+
sidebar_position: 21
33
title: 添加黑名单
44
hide_title: true
55
---

docs/restapi/apis/friendsManagement/checkFriend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 1
2+
sidebar_position: 14
33
title: 检查好友关系
44
hide_title: true
55
---

docs/restapi/apis/friendsManagement/deleteBlackList.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 13
2+
sidebar_position: 22
33
title: 移除黑名单
44
hide_title: true
55
---

docs/restapi/apis/friendsManagement/deleteFriend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 2
2+
sidebar_position: 15
33
title: 删除好友
44
hide_title: true
55
---

docs/restapi/apis/friendsManagement/getBlackList.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 14
2+
sidebar_position: 20
33
title: 获取黑名单列表
44
hide_title: true
55
---

0 commit comments

Comments
 (0)