Bläddra i källkod

fix: update create es struct

master
shenjiachi 1 vecka sedan
förälder
incheckning
7dc14a5d08
2 ändrade filer med 1 tillägg och 5 borttagningar
  1. +1
    -3
      rule/egg_energy/create_es_score_and_assign_value.go
  2. +0
    -2
      rule/egg_energy/enum/es_egg_energy_score_enum.go

+ 1
- 3
rule/egg_energy/create_es_score_and_assign_value.go Visa fil

@@ -21,10 +21,8 @@ func CreateEsScoreAndAssignValuesDoc(index, id string, uid int64, kind enum.EggE
m.ScoreValueKind = int32(utils.StrToInt64(value))
case enum.Ecpm:
m.Ecpm = utils.StrToFloat64(value)
case enum.EcpmAvg:
m.EcpmAvg = utils.StrToFloat64(value)
case enum.EcpmNums:
m.EcpmNums = utils.StrToInt(value)
m.EcpmNums = 1
case enum.InviteUserNums:
m.InviteUserNums = utils.StrToInt(value)
case enum.TeamActivityNums:


+ 0
- 2
rule/egg_energy/enum/es_egg_energy_score_enum.go Visa fil

@@ -7,8 +7,6 @@ const (
ScoreValue = iota + 1
ScoreValueKind
Ecpm
EcpmAvg
EcpmNums
InviteUserNums
TeamActivityNums
SignInNums


Laddar…
Avbryt
Spara