集成完成

This commit is contained in:
feilong.teng@rheinchina.com
2021-12-12 19:49:39 +08:00
commit cd824b7f0c
462 changed files with 33688 additions and 0 deletions

14
base/utils/json_utils.go Normal file
View File

@@ -0,0 +1,14 @@
package utils
import (
"encoding/json"
)
func Json2Map(jsonStr string) map[string]interface{} {
var res map[string]interface{}
if jsonStr == "" {
return res
}
_ = json.Unmarshal([]byte(jsonStr), &res)
return res
}