diff --git a/tool/gabs.go b/tool/gabs.go index 4fe108a..2fb694a 100644 --- a/tool/gabs.go +++ b/tool/gabs.go @@ -223,7 +223,7 @@ func (df *DataFilter) dealDiffArr(diffArr []string) string { if len(jsonResultList) == 0 { return "" } - newPath := util.String.GenRandomString("", 8) + newPath := util.String.GenRandom("", 8) var result map[string]interface{} _ = json.Unmarshal([]byte(df.source), &result) JSONObject, _ := gabs.Consume(result)