update uuid callback println func

This commit is contained in:
Ivy1996-encode 2021-02-21 11:12:39 +08:00
parent c50194ff84
commit 55a3104f07

9
bot.go
View File

@ -199,6 +199,11 @@ func DefaultBot() *Bot {
return NewBot(DefaultCaller(), NewSimpleWechatStorage()) return NewBot(DefaultCaller(), NewSimpleWechatStorage())
} }
func PrintlnQrcodeUrl(uuid string) { func GetQrcodeUrl(uuid string) string {
println(qrcodeUrl + uuid) return qrcodeUrl + uuid
}
func PrintlnQrcodeUrl(uuid string) {
println("访问下面网址扫描二维码登录")
println(GetQrcodeUrl(uuid))
} }