controllers/esSearch.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/esSearch.go
@@ -56,10 +56,11 @@ } alarmLevelRes := make([]string,len(alarmlevel)) for i,v := range alarmlevel { if v.(int) < 0 { value := int(v.(float64)) if value < 0 { alarmLevelRes[i] = "撤防" }else { alarmLevelRes[i] = alarmLevel[v.(int)] alarmLevelRes[i] = alarmLevel[value] } } return alarmLevelRes