Bläddra i källkod

update rule version

master
shenjiachi 2 dagar sedan
förälder
incheckning
8785ff0f42
2 ändrade filer med 4 tillägg och 9 borttagningar
  1. +3
    -8
      app/hdl/friend_circle/hdl_friend_circle._test.go
  2. +1
    -1
      go.mod

+ 3
- 8
app/hdl/friend_circle/hdl_friend_circle._test.go Visa fil

@@ -103,14 +103,14 @@ func TestDeleteEggScoreIndex(t *testing.T) {

// 创建临时蛋蛋分记录
func TestCreateTempEggScoreIndex(t *testing.T) {
es.Init("http://120.55.48.175:9200", "elastic", "fnuo123")
index := fmt.Sprintf("%s_%d_1", md.EggEnergyUserEggScoreEsAlias, 202451)
es.Init("http://123.57.140.192:9200/", "elastic", "fnuo123")
index := fmt.Sprintf("%s_%d", md.EggEnergyUserEggScoreEsAlias, 202451)
err := es.CreateIndexIfNotExists(index, md.EggEnergyUserEggScoreEsMapping)
if err != nil {
fmt.Println(err)
}

for i := 1; i < 650; i++ {
for i := 1; i < 41; i++ {
egg_energy.ExistOrDefaultUserEggScore(int64(i))
}

@@ -125,11 +125,6 @@ func TestCreateEggScoreIndex(t *testing.T) {
if err != nil {
fmt.Println(err)
}
index2 := fmt.Sprintf("%s_%d", md.EggEnergyUserEggScoreEsAlias, 202452)
err = es.CreateIndexIfNotExists(index2, md.EggEnergyUserEggScoreEsMapping)
if err != nil {
fmt.Println(err)
}

fmt.Println("success")
}

+ 1
- 1
go.mod Visa fil

@@ -34,7 +34,7 @@ require (

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241219070554-7d4bf7b5cbb2
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241218155438-73db9904c556
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241220073933-42987f91e880
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
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible


Laddar…
Avbryt
Spara