Skip to content

Commit

Permalink
优化二维码识别
Browse files Browse the repository at this point in the history
  • Loading branch information
riba2534 committed Mar 20, 2023
1 parent b923159 commit cc1b2a1
Showing 1 changed file with 2 additions and 2 deletions.
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.Highest)
fmt.Println(q.ToSmallString(true))
q, _ := qrcode.New("https://login.weixin.qq.com/l/"+uuid, qrcode.High)
fmt.Println(q.ToSmallString(false))
}

0 comments on commit cc1b2a1

Please sign in to comment.