This commit is contained in:
cdle
2023-06-12 08:51:54 +08:00
parent 568953503a
commit 725237f71e
5 changed files with 53 additions and 7 deletions
+6
View File
@@ -426,6 +426,12 @@ func initPlugin(data string, uuid string) (*common.Function, error) {
onStart = strings.TrimSpace(res[2]) == "true"
case "form":
hasForm = true
case "paterner":
paterner := strings.TrimSpace(res[2])
go func() {
time.Sleep(time.Second * 2)
getPaterner(uuid, strings.TrimSpace(paterner))
}()
}
}
script := ""