[集群]增加TOA相关设置

This commit is contained in:
GoEdgeLab
2020-12-02 14:26:03 +08:00
parent 83dba94235
commit c3004d1acc
7 changed files with 135 additions and 32 deletions

View File

@@ -10,7 +10,7 @@ func JSONBytes(data []byte) []byte {
return data
}
// 判断JSON是否为空
// 判断JSON是否为空
func IsNotNull(data string) bool {
return len(data) > 0 && data != "null"
}