Browse Source

fix: return index id when get user egg flow

master
shenjiachi 1 day ago
parent
commit
b69af23f13
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      app/svc/egg_energy/svc_egg_energy.go
  2. +1
    -1
      go.mod

+ 1
- 0
app/svc/egg_energy/svc_egg_energy.go View File

@@ -91,6 +91,7 @@ func QueryElasticsearch(req md2.UserEggFlowReq, indexName string) (resp []md2.Us
if err != nil {
return
}
doc.IndexId = hit.Index
resp = append(resp, doc)
}
total = searchResult.Hits.TotalHits.Value


+ 1
- 1
go.mod View File

@@ -33,7 +33,7 @@ require (
)

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241227063935-e6bf4d057f14
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241227102847-f4a6450c27aa
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241227073118-a441564375e2
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5


Loading…
Cancel
Save