测试更新WsKey

This commit is contained in:
ZJY 2021-09-04 09:20:11 +08:00
parent 9d6caa0b88
commit b20bdc3574

View File

@ -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() {