diff --git a/bot.go b/bot.go index 71b76c3..5c7b0d4 100644 --- a/bot.go +++ b/bot.go @@ -199,6 +199,11 @@ func DefaultBot() *Bot { return NewBot(DefaultCaller(), NewSimpleWechatStorage()) } -func PrintlnQrcodeUrl(uuid string) { - println(qrcodeUrl + uuid) +func GetQrcodeUrl(uuid string) string { + return qrcodeUrl + uuid +} + +func PrintlnQrcodeUrl(uuid string) { + println("访问下面网址扫描二维码登录") + println(GetQrcodeUrl(uuid)) }