尝试修复空指针错误
This commit is contained in:
parent
16d8f81ee2
commit
7e13497a85
6
main.go
6
main.go
@ -35,7 +35,11 @@ func main() {
|
|||||||
defer reloadStorage.Close()
|
defer reloadStorage.Close()
|
||||||
|
|
||||||
// 执行热登录
|
// 执行热登录
|
||||||
global.Bot.HotLogin(reloadStorage)
|
err = global.Bot.HotLogin(reloadStorage)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("热登录失败: %s\n", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// 注册登陆二维码回调
|
// 注册登陆二维码回调
|
||||||
global.Bot.UUIDCallback = openwechat.PrintlnQrcodeUrl
|
global.Bot.UUIDCallback = openwechat.PrintlnQrcodeUrl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user