This commit is contained in:
cdle 2021-08-19 17:10:23 +08:00
parent 9b6c771902
commit 78fd7c4a7c

View File

@ -153,7 +153,7 @@ var handleMessage = func(msgs ...interface{}) interface{} {
return nil
default:
{ //tyt
ss := regexp.MustCompile(`packetId=(\S+)&currentActId`).FindStringSubmatch(msg)
ss := regexp.MustCompile(`packetId=(\S+)(&|&)currentActId`).FindStringSubmatch(msg)
if len(ss) > 0 {
runTask(&Task{Path: "jd_tyt.js", Envs: []Env{
{Name: "tytpacketId", Value: ss[1]},