fix monitor bug

This commit is contained in:
Liujian
2025-04-30 00:24:02 +08:00
parent 4e459168df
commit 1d36f4b821
6 changed files with 10 additions and 6 deletions
+2
View File
@@ -29,6 +29,8 @@ func FmtIntFromInterface(val interface{}) int64 {
return int64(ret)
case int:
return int64(ret)
case float64:
return int64(ret)
default:
return 0
}