sqlite的api,便于内部使用
liuxiaolong
2020-02-24 9f410d497dbc50f83b08b4657d3b122679301cd8
dicApi.go
@@ -2,7 +2,6 @@
import (
   "encoding/json"
   "fmt"
   "strconv"
)
@@ -35,7 +34,7 @@
   }
   var res Result
   if err = json.Unmarshal(respBody, &res); err != nil {
      fmt.Println(err)
      logPrint(err)
      return false,nil
   }
   return res.Success,res.Data
@@ -52,7 +51,7 @@
   }
   var res Result
   if err = json.Unmarshal(respBody, &res); err != nil {
      fmt.Println(err)
      logPrint(err)
      return false,nil
   }
   return res.Success,res.Data