zhangmeng
2024-01-19 01dfd9dc8de7b19f9dfa4284722e01bbd5837801
fileAnalysis.go
@@ -2,12 +2,11 @@
import (
   "basic.com/pubsub/protomsg.git"
   json "github.com/json-iterator/go"
   jsoniter "github.com/json-iterator/go"
   "strconv"
)
type FileAnalysisApi struct{
}
func (api FileAnalysisApi) Save(paramBody map[string]interface{}) bool {
@@ -20,6 +19,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      return false
   }
@@ -40,6 +40,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      return false, nil
   }
@@ -63,6 +64,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      return false, nil
   }
@@ -81,6 +83,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      return files,err
   }
@@ -109,6 +112,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint("unmarshal res err:",err)
      return false,nil
@@ -128,6 +132,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      return set,err
   }
@@ -152,6 +157,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -173,6 +179,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -195,6 +202,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -216,6 +224,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -238,6 +247,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -260,6 +270,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -282,6 +293,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false
@@ -304,6 +316,7 @@
   }
   var res Result
   var json = jsoniter.ConfigCompatibleWithStandardLibrary
   if err = json.Unmarshal(body, &res); err != nil {
      logPrint(err)
      return false