mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-05 09:30:24 +08:00
[集群]增加TOA相关设置
This commit is contained in:
@@ -10,7 +10,7 @@ func JSONBytes(data []byte) []byte {
|
||||
return data
|
||||
}
|
||||
|
||||
// 判断JSON是否为空
|
||||
// 判断JSON是否不为空
|
||||
func IsNotNull(data string) bool {
|
||||
return len(data) > 0 && data != "null"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user