| | |
| | | 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{ |
| | |
| | | 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 |
| | | } |