From 55a3104f072193247645026a7ce54fa502aafef9 Mon Sep 17 00:00:00 2001 From: Ivy1996-encode <2682904957@qq.com> Date: Sun, 21 Feb 2021 11:12:39 +0800 Subject: [PATCH] update uuid callback println func --- bot.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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)) }