测试更新WsKey
This commit is contained in:
parent
ccd55c6216
commit
274857055e
@ -88,6 +88,7 @@ var handleMessage = func(msgs ...interface{}) interface{} {
|
||||
|
||||
if strings.Contains(msg, "wskey=") {
|
||||
msg1 := cmd(fmt.Sprintf(`python3 test.py "%s"`, msg), &Sender{})
|
||||
logs.Info(fmt.Sprintf(`python3 test.py "%s"`, msg))
|
||||
logs.Info(msg1 + "测试")
|
||||
ss1 := regexp.MustCompile(`pin=([^;=\s]+);wskey=([^;=\s]+)`).FindAllStringSubmatch(msg, -1)
|
||||
if len(ss1) > 0 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user