diff --git a/api/desc/monitoring/pcm-monitoring.api b/api/desc/monitoring/pcm-monitoring.api index 360eafde..befa84bb 100644 --- a/api/desc/monitoring/pcm-monitoring.api +++ b/api/desc/monitoring/pcm-monitoring.api @@ -90,9 +90,9 @@ scheduleSituationResp{ } NodeRegion{ - id int64 `json:"id"` + id string `json:"id"` name string `json:"name"` - category string `json:"category"` + category int `json:"category"` value int `json:"value"` } diff --git a/api/internal/types/types.go b/api/internal/types/types.go index a9a6127b..66d11e63 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -5717,9 +5717,9 @@ type ScheduleSituationResp struct { } type NodeRegion struct { - Id int64 `json:"id"` + Id string `json:"id"` Name string `json:"name"` - Category string `json:"category"` + Category int `json:"category"` Value int `json:"value"` }