Skip to content

Commit 04bae9b

Browse files
1ctrl-cvQianLin-Jiaxi
authored andcommitted
docs: 修正格式和用词错误,以及关闭括号
1 parent 39d2dc1 commit 04bae9b

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/api/v1/bot.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ POST /v1/bot/bot-detail
143143
"msgTypeLimit": ""
144144
},
145145
// ...
146-
],
146+
],
147147
"msg": "success" // 返回消息
148+
},
148149
}
149150
```
150151

@@ -505,6 +506,7 @@ POST /v1/bot/llm/llm-setting-list
505506
// ...
506507
],
507508
"msg": "success" // 返回消息
509+
},
508510
}
509511
```
510512

@@ -590,6 +592,7 @@ POST /v1/bot/create-bot
590592
|token|||
591593

592594
请求体:
595+
593596
```ProtoBuf
594597
name: 2 //机器人名称
595598
introduction: 3 //机器人简介

src/api/v1/community.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,6 @@ POST /v1/community/ba/group-list
957957
"gag": 0, // 是否禁言(1为开启,0为关闭)
958958
"gagBy": "", // 禁言者id
959959
"msgTypeLimit": "", // 被限制的消息类型,如1,2,3,使用","分格。1-文本消息,2-图片消息,3-Markdown消息,4-文件消息,6-帖子消息,7-表情消息,8-HTML消息,10-视频消息,11-语音消息,13-语音通话(限制多个消息类型一般是 1,2,3,4··· 之类)
960-
}
961960
"uri": "https://chat-go.jwzhd.com/open-apis/v1/bot/send?token\u003d", // 机器人消息发送接口
962961
"groupBotRel": null
963962
},

src/api/v1/instruction.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ POST /v1/instruction/web-list
2424
```
2525

2626
响应体:
27+
2728
```JSONC
2829
{
2930
"code": 1, // 请求状态码,1为正常
@@ -73,6 +74,7 @@ POST /v1/instruction/web-list
7374
"msg": "success" // 返回消息
7475
}
7576
```
77+
7678
::: details 自定义输入指令部分解释
7779

7880
```jsonc
@@ -150,7 +152,7 @@ POST v1/instruction/edit
150152
"name": "自定义输入指令", // 指令名称
151153
"desc": "指令描述", // 指令描述
152154
"botId": "45669202", // 机器人id
153-
"customJson": "", // 自定义输入指令(表单指令),只有type为5的自定义输入指令需要,这个是json数组,需转意,具体设置可以看 **获取机器人指令列表(网页控制台)** 对一些表单指令的解释
155+
"customJson": "", // 自定义输入指令(表单指令),只有type为5的自定义输入指令需要,这个是json数组,需转义,具体设置可以看 **获取机器人指令列表(网页控制台)** 对一些表单指令的解释
154156
"type": 5, // 指令类型,1-普通指令,2-直发指令,5-自定义输入指令
155157
"delFlag": 0
156158
}

src/api/wss/chat-ws-go.jwzhd.com.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ data {
273273
user_id: "123" // 接收者用户ID
274274
temp_code: 1 // 未知
275275
send_type: "candidate" // 分享类别区分文本
276-
data: "{}" // 经过转意义的json格式发送数据
276+
data: "{}" // 经过转义义的json格式发送数据
277277
send_deviceId: "123123123123" // 发送者设备唯一标识符
278278
}
279279
}

src/云湖API吐槽/QianLin-Jiaxi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ md,云湖后端简直逆天
55
这么说可能不怎么好理解,我举个实例:
66

77
1.莫名奇妙多出的相同属性数值,明明在前面已经有了相应的数值却还要重复一遍,增加包大小(
8-
2.一堆json转意,数组不嫌多的往请求里塞,愣是不好好写json(
8+
2.一堆json转义,数组不嫌多的往请求里塞,愣是不好好写json(
99
3.人无法理解的proto,设计自带防破解,根本看不懂(
1010
4.一堆永远是空的数值,后端还™的必须检验是否存在,不然就报错(
1111

0 commit comments

Comments
 (0)