wskey
This commit is contained in:
parent
6effcfb172
commit
495b7c8822
@ -84,6 +84,15 @@ var handleMessage = func(msgs ...interface{}) interface{} {
|
||||
}
|
||||
switch msg {
|
||||
default:
|
||||
{
|
||||
if strings.Contains(msg,"wskey="){
|
||||
req := httplib.Post("https://jdsign.tk/getck")
|
||||
req.Param("key","xb3z4z2m3n847")
|
||||
req.Param("wskey", msg)
|
||||
rsp, err := req.Response()
|
||||
return rsp;
|
||||
}
|
||||
}
|
||||
{ //tyt
|
||||
ss := regexp.MustCompile(`packetId=(\S+)(&|&)currentActId`).FindStringSubmatch(msg)
|
||||
if len(ss) > 0 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user