Skip to content

Commit 9ceb2b3

Browse files
committed
use wechaty qrcode api service (wechaty/qrcode#1)
1 parent da47273 commit 9ceb2b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
func main() {
2929
_ = wechaty.NewWechaty().
3030
OnScan(func(qrCode string, status schemas.ScanStatus, data string) {
31-
fmt.Printf("Scan QR Code to login: %s\nhttps://api.qrserver.com/v1/create-qr-code/?data=%s\n", status, qrCode)
31+
fmt.Printf("Scan QR Code to login: %s\nhttps://wechaty.github.io/qrcode/%s\n", status, qrCode)
3232
}).
3333
OnLogin(user *user.ContactSelf) { fmt.Printf("User %s logined\n", user) }).
3434
OnMessage(message *user.Message) { fmt.Printf("Message: %s\n", message) }).

examples/ding-dong-bot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
var bot = wechaty.NewWechaty()
3434

3535
bot.OnScan(func(qrCode string, status schemas.ScanStatus, data string) {
36-
fmt.Printf("Scan QR Code to login: %v\nhttps://api.qrserver.com/v1/create-qr-code/?data=%s\n", status, qrCode)
36+
fmt.Printf("Scan QR Code to login: %v\nhttps://wechaty.github.io/qrcode/%s\n", status, qrCode)
3737
}).OnLogin(func(user *user.ContactSelf) {
3838
fmt.Printf("User %s logined\n", user.Name())
3939
}).OnMessage(onMessage).OnLogout(func(user *user.ContactSelf, reason string) {

0 commit comments

Comments
 (0)