From 2c98fd8786d0f000bfd6a0da9ac1ae8a52aca59b Mon Sep 17 00:00:00 2001 From: riba2534 Date: Tue, 14 Mar 2023 12:36:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ bot/bot.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a7c33f..8cf8cd0 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ > 项目地址: https://github.com/riba2534/openai-on-wechat > > 知乎: https://zhuanlan.zhihu.com/p/613440196 +> +> 本项目会持续迭代,下载二进制包时请去 [releases](https://github.com/riba2534/openai-on-wechat/releases) 中找最新的 `openai-on-wechat.zip` 下载 # 简介 diff --git a/bot/bot.go b/bot/bot.go index cf1af07..191ac11 100644 --- a/bot/bot.go +++ b/bot/bot.go @@ -17,6 +17,6 @@ func Init() error { } func consoleQrCode(uuid string) { - q, _ := qrcode.New("https://login.weixin.qq.com/l/"+uuid, qrcode.Low) - fmt.Println(q.ToString(true)) + q, _ := qrcode.New("https://login.weixin.qq.com/l/"+uuid, qrcode.Highest) + fmt.Println(q.ToSmallString(true)) }