feat:优化es查询规则

This commit is contained in:
henry
2021-12-24 09:13:16 +08:00
parent b62ee9c3d9
commit ebf74435ef
5 changed files with 39 additions and 55 deletions

View File

@ -116,8 +116,9 @@ func (c *Search) Launch(identity int, param, industry string, page, pageSize int
}
ids := make([]uint64, 0)
for _, v := range out.([]*service.ESManage) {
ids = append(ids, v.ID)
for _, v := range out.([]interface{}) {
val := v.(*service.ESManage)
ids = append(ids, val.ID)
}
handle, has := searchIdentityHandle[identity]