@@ -91,8 +91,8 @@ type EggEnergyUserEggScoreEs struct { | |||||
SignInNums int `json:"sign_in_nums" label:"签到次数"` | SignInNums int `json:"sign_in_nums" label:"签到次数"` | ||||
ImActivityNums int `json:"im_activity_nums" label:"im活跃次数"` | ImActivityNums int `json:"im_activity_nums" label:"im活跃次数"` | ||||
SendRedPackageNums int `json:"send_red_package_nums" label:"发红包次数"` | 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:"发朋友圈次数"` | SendCircleOfFriendNums int `json:"send_circle_of_friend_nums" label:"发朋友圈次数"` | ||||
ForumCommentsNums int `json:"forum_comments_nums" label:"论坛评论次数"` | ForumCommentsNums int `json:"forum_comments_nums" label:"论坛评论次数"` | ||||
CollegeLearningNums int `json:"college_learning_nums" label:"学院学习次数"` | CollegeLearningNums int `json:"college_learning_nums" label:"学院学习次数"` | ||||
@@ -32,9 +32,9 @@ func CreateEsScoreAndAssignValuesDoc(index, id string, uid int64, kind enum.EggE | |||||
case enum.SendRedPackageNums: | case enum.SendRedPackageNums: | ||||
m.SendRedPackageNums = utils.StrToInt(value) | m.SendRedPackageNums = utils.StrToInt(value) | ||||
case enum.EsEggEnergyExchangeAccountBalance: | case enum.EsEggEnergyExchangeAccountBalance: | ||||
m.EggEnergyExchangeAccountBalance = utils.StrToInt(value) | |||||
m.EggEnergyExchangeAccountBalance = utils.StrToFloat64(value) | |||||
case enum.AccountBalanceExchangeEggEnergyNums: | case enum.AccountBalanceExchangeEggEnergyNums: | ||||
m.AccountBalanceExchangeEggEnergyNums = utils.StrToInt(value) | |||||
m.AccountBalanceExchangeEggEnergyNums = utils.StrToFloat64(value) | |||||
case enum.SendCircleOfFriendNums: | case enum.SendCircleOfFriendNums: | ||||
m.SendCircleOfFriendNums = utils.StrToInt(value) | m.SendCircleOfFriendNums = utils.StrToInt(value) | ||||
case enum.ForumCommentsNums: | case enum.ForumCommentsNums: | ||||