diff --git a/models/bot.go b/models/bot.go index 4ae4cdf..6b1917b 100644 --- a/models/bot.go +++ b/models/bot.go @@ -153,7 +153,7 @@ var handleMessage = func(msgs ...interface{}) interface{} { return nil default: { //tyt - ss := regexp.MustCompile(`packetId=(\S+)¤tActId`).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]},