修复场景联动bug

master
winc-link 2024-05-05 16:00:17 +08:00
parent 7776086050
commit ed16bf3fcb
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ func GetRuleAlertEkuiperActions(actionUrl string) []Actions {
var a []Actions var a []Actions
rest := make(map[string]interface{}) rest := make(map[string]interface{})
rest["method"] = "POST" rest["method"] = "POST"
//bug-fix
rest["url"] = "http://hummingbird-core:58081" + "/api/v1/ekuiper/alert" rest["url"] = "http://hummingbird-core:58081" + "/api/v1/ekuiper/alert"
rest["bodyType"] = "json" rest["bodyType"] = "json"
rest["timeout"] = 5000 rest["timeout"] = 5000