sqlite的api,便于内部使用
fix
liuxiaolong
2019-08-19 a37c541e7352d541ba3e4b230b8c3fc429af4826
dbpersonApi.go
@@ -146,7 +146,7 @@
   return res.Data.(int64),nil
}
func (api DbPersonApi) GetPersonsCompareCacheBase (from int,size int) (persons []*protomsg.DbPersonCompCache,err error) {
func (api DbPersonApi) GetPersonsCompareCacheBase (from int,size int) (persons []*protomsg.Esinfo,err error) {
   url := BASIC_URL + DATA_URL_PREFIX + "/dbperson/getPersonsCompareCacheBase"
   client := NewClient()
   paramBody := map[string]string{
@@ -163,7 +163,7 @@
      return nil,err
   }
   dataBytes, _ := json.Marshal(res.Data)
   var arr []protomsg.DbPersonCompCache
   var arr []protomsg.Esinfo
   if err = json.Unmarshal(dataBytes, &arr);err !=nil {
      return nil,err
   }