Ver a proveniência

update es struct

master
shenjiachi há 1 dia
ascendente
cometimento
16c164fa04
2 ficheiros alterados com 4 adições e 4 eliminações
  1. +2
    -2
      md/es.go
  2. +2
    -2
      rule/egg_energy/create_es_score_and_assign_value.go

+ 2
- 2
md/es.go Ver ficheiro

@@ -91,8 +91,8 @@ type EggEnergyUserEggScoreEs struct {
SignInNums int `json:"sign_in_nums" label:"签到次数"`
ImActivityNums int `json:"im_activity_nums" label:"im活跃次数"`
SendRedPackageNums int `json:"send_red_package_nums" label:"发红包次数"`
EggEnergyExchangeAccountBalance int `json:"egg_energy_exchange_account_balance" label:"蛋蛋能量兑换余额数量"`
AccountBalanceExchangeEggEnergyNums int `json:"account_balance_exchange_egg_energy_nums" label:"余额兑换蛋蛋能量数量"`
EggEnergyExchangeAccountBalance float64 `json:"egg_energy_exchange_account_balance" label:"蛋蛋能量兑换余额数量"`
AccountBalanceExchangeEggEnergyNums float64 `json:"account_balance_exchange_egg_energy_nums" label:"余额兑换蛋蛋能量数量"`
SendCircleOfFriendNums int `json:"send_circle_of_friend_nums" label:"发朋友圈次数"`
ForumCommentsNums int `json:"forum_comments_nums" label:"论坛评论次数"`
CollegeLearningNums int `json:"college_learning_nums" label:"学院学习次数"`


+ 2
- 2
rule/egg_energy/create_es_score_and_assign_value.go Ver ficheiro

@@ -32,9 +32,9 @@ func CreateEsScoreAndAssignValuesDoc(index, id string, uid int64, kind enum.EggE
case enum.SendRedPackageNums:
m.SendRedPackageNums = utils.StrToInt(value)
case enum.EsEggEnergyExchangeAccountBalance:
m.EggEnergyExchangeAccountBalance = utils.StrToInt(value)
m.EggEnergyExchangeAccountBalance = utils.StrToFloat64(value)
case enum.AccountBalanceExchangeEggEnergyNums:
m.AccountBalanceExchangeEggEnergyNums = utils.StrToInt(value)
m.AccountBalanceExchangeEggEnergyNums = utils.StrToFloat64(value)
case enum.SendCircleOfFriendNums:
m.SendCircleOfFriendNums = utils.StrToInt(value)
case enum.ForumCommentsNums:


Carregando…
Cancelar
Guardar