|
@@ -2095,11 +2095,11 @@ func funcAnalysis(j *ju.Job, e *ExtractTask) (*map[string]interface{}, map[strin
|
|
|
ju.Sort(val)
|
|
|
}
|
|
|
if !(len(j.Result) <= 0 || j.Jsondata == nil || len(*j.Jsondata) <= 0) {
|
|
|
+ //jsondata清理
|
|
|
+ clearJd(j.Jsondata, e)
|
|
|
marshalbt, _ := json.Marshal(j.Jsondata)
|
|
|
tmpjddata := make(map[string]interface{})
|
|
|
json.Unmarshal(marshalbt, &tmpjddata)
|
|
|
- //jsondata清理
|
|
|
- clearJd(j.Jsondata, e)
|
|
|
for _, jdkey := range ju.JsonData {
|
|
|
if (*j.Jsondata)[jdkey] != nil && (*j.Jsondata)[jdkey] != "" && len(j.Result[jdkey]) >= 5 {
|
|
|
for tmpk, tmpv := range j.Result[jdkey][:5] {
|