fix: kpi value change type from int to int64
This commit is contained in:
@@ -44,7 +44,7 @@ type KpiReport struct {
|
|||||||
NeType string `json:"NeType"`
|
NeType string `json:"NeType"`
|
||||||
KPIs []struct {
|
KPIs []struct {
|
||||||
KPIID string `json:"KPIID"`
|
KPIID string `json:"KPIID"`
|
||||||
Value int `json:"Value"`
|
Value int64 `json:"Value"`
|
||||||
Err string `json:"Err"`
|
Err string `json:"Err"`
|
||||||
} `json:"KPIs"`
|
} `json:"KPIs"`
|
||||||
} `json:"NE"`
|
} `json:"NE"`
|
||||||
@@ -62,7 +62,7 @@ type GoldKpi struct {
|
|||||||
RmUid string `json:"rmUid" xorm:"rm_uid"`
|
RmUid string `json:"rmUid" xorm:"rm_uid"`
|
||||||
NEType string `json:"neType" xorm:"ne_type"`
|
NEType string `json:"neType" xorm:"ne_type"`
|
||||||
KpiId string `json:"kpiId" xorm:"kpi_id"`
|
KpiId string `json:"kpiId" xorm:"kpi_id"`
|
||||||
Value int `json:"value"`
|
Value int64 `json:"value"`
|
||||||
Error string `json:"error"`
|
Error string `json:"error"`
|
||||||
Timestamp string `json:"timestamp"`
|
Timestamp string `json:"timestamp"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user