From 80aa09ea6294f3b12660882abe4af723ad13685f Mon Sep 17 00:00:00 2001 From: ikun Date: Sun, 18 Aug 2024 09:12:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E5=86=99=E4=B8=80=E4=B8=AA=E4=B8=9C?= =?UTF-8?q?=E8=A5=BF=EF=BC=8C=E8=A1=A5=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/posts/deploy/platforms/aiocqhttp/gocq.md | 19 ++++++++++++++----- src/posts/deploy/platforms/nakuru.md | 4 ++-- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/posts/deploy/platforms/aiocqhttp/gocq.md b/src/posts/deploy/platforms/aiocqhttp/gocq.md index e0fbef2a4..45e4aeb2e 100644 --- a/src/posts/deploy/platforms/aiocqhttp/gocq.md +++ b/src/posts/deploy/platforms/aiocqhttp/gocq.md @@ -6,8 +6,8 @@ head: title: 部署消息平台go-cqhttp的教程 icon: state order: 3 -author: Anonymous -date: 2023-12-21 +author: ikun0014 +date: 2024-08-18 category: - 部署教程 --- @@ -66,7 +66,7 @@ account: # 账号相关 按照如下填写, -```yam +```yaml sign-servers: - url: 'https://qsign.trpgbot.com/' # 主签名服务器地址, 必填 key: 'selfshare' @@ -102,7 +102,16 @@ account: # 账号相关 感谢zhaodice大佬带来的QQ 9.0.56签名服务器 -3. 若您的服务器位于公网,强烈建议您填写`access-token` (可选) +3.修改反向Websocket连接地址 +```yaml + - ws-reverse: + # 反向WS Universal 地址 + # 注意 设置了此项地址后下面两项将会被忽略 + universal: ws://localhost:8080/ws +``` +如果端口不同请自行修改 + +4. 若您的服务器位于公网,强烈建议您填写`access-token` (可选) ```yaml # 默认中间件锚点 @@ -111,7 +120,7 @@ default-middlewares: &default access-token: '' ``` -4. 配置完成,重新启动go-cqhttp +5. 配置完成,重新启动go-cqhttp ## 登录 diff --git a/src/posts/deploy/platforms/nakuru.md b/src/posts/deploy/platforms/nakuru.md index d737c2d89..f4e2d5e62 100644 --- a/src/posts/deploy/platforms/nakuru.md +++ b/src/posts/deploy/platforms/nakuru.md @@ -16,7 +16,7 @@ category: ::: warning -gocq未归档,但官方表示:[https://github.com/Mrs4s/go-cqhttp/issues/2471](https://github.com/Mrs4s/go-cqhttp/issues/2471) +gocq未归档,但原开发者表示:[https://github.com/Mrs4s/go-cqhttp/issues/2471](https://github.com/Mrs4s/go-cqhttp/issues/2471) ::: @@ -160,4 +160,4 @@ ticket 后那一坨就是要输入回 mirai 的内容,但不包括首尾的双 ## 后续步骤 -查看填写配置信息页,通过 Nakuru 或 aiocqhttp 适配器接入。 \ No newline at end of file +查看填写配置信息页,通过 Nakuru 适配器接入。 \ No newline at end of file