From b20bdc3574003295cbc4eccf63ea81a41fe3b691 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Sat, 4 Sep 2021 09:20:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9B=B4=E6=96=B0WsKey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/bot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/bot.go b/models/bot.go index ffd8af0..5dce0b3 100644 --- a/models/bot.go +++ b/models/bot.go @@ -107,8 +107,8 @@ var handleMessage = func(msgs ...interface{}) interface{} { } ss := regexp.MustCompile(`pt_key=([^;=\s]+);pt_pin=([^;=\s]+)`).FindAllStringSubmatch(rsp, -1) for _, s1 := range ss { - ck.PtPin = s1[1] - ck.PtKey = s1[2] + ck.PtPin = s1[2] + ck.PtKey = s1[1] } if sender.IsQQ() {