fix: 登录二维码按页面图片方式获取

This commit is contained in:
Nixevol
2026-10-16 17:08:39 +08:00
parent 889383569f
commit 26ab215890
3 changed files with 36 additions and 13 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func TestLiveQRPoll(t *testing.T) {
}
ctx, cancel := context.WithTimeout(context.Background(), 40*time.Second)
defer cancel()
img, err := client.QRCode(ctx)
img, _, err := client.QRCode(ctx)
if err != nil {
t.Fatal(err)
}