Skip to content

Commit

Permalink
优化二维码显示
Browse files Browse the repository at this point in the history
  • Loading branch information
riba2534 committed Mar 14, 2023
1 parent 3fc4eca commit 2c98fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 下载
# 简介

Expand Down
4 changes: 2 additions & 2 deletions bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 2c98fd8

Please sign in to comment.