File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import (
28
28
func main () {
29
29
_ = wechaty.NewWechaty ().
30
30
OnScan (func (qrCode string , status schemas.ScanStatus , data string ) {
31
- fmt.Printf (" Scan QR Code to login: %s \n https://api.qrserver.com/v1/create-qr-code/?data= %s \n " , status, qrCode)
31
+ fmt.Printf (" Scan QR Code to login: %s \n https://wechaty.github.io/qrcode/ %s \n " , status, qrCode)
32
32
}).
33
33
OnLogin (user *user.ContactSelf ) { fmt.Printf (" User %s logined\n " , user) }).
34
34
OnMessage (message *user.Message ) { fmt.Printf (" Message: %s \n " , message) }).
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func main() {
33
33
var bot = wechaty .NewWechaty ()
34
34
35
35
bot .OnScan (func (qrCode string , status schemas.ScanStatus , data string ) {
36
- fmt .Printf ("Scan QR Code to login: %v\n https://api.qrserver.com/v1/create-qr-code/?data= %s\n " , status , qrCode )
36
+ fmt .Printf ("Scan QR Code to login: %v\n https://wechaty.github.io/qrcode/ %s\n " , status , qrCode )
37
37
}).OnLogin (func (user * user.ContactSelf ) {
38
38
fmt .Printf ("User %s logined\n " , user .Name ())
39
39
}).OnMessage (onMessage ).OnLogout (func (user * user.ContactSelf , reason string ) {
You can’t perform that action at this time.
0 commit comments