Sfoglia il codice sorgente

fix: update create es struct

master
shenjiachi 1 settimana fa
parent
commit
7dc14a5d08
2 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  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 Vedi File

@@ -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 Vedi File

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


Caricamento…
Annulla
Salva