|
@@ -128,7 +128,7 @@ func handleEggEnergyTeamAssistanceDataConsume(msgData []byte) error { |
|
|
} else { |
|
|
} else { |
|
|
teamAssistance.RewardScore = utils2.Float64ToStr(msg.AssistanceValue + utils2.StrToFloat64(teamAssistance.RewardScore)) |
|
|
teamAssistance.RewardScore = utils2.Float64ToStr(msg.AssistanceValue + utils2.StrToFloat64(teamAssistance.RewardScore)) |
|
|
// 如果是第一条说明还没有被记录过, 助力人数 + 1 |
|
|
// 如果是第一条说明还没有被记录过, 助力人数 + 1 |
|
|
if count == 1 { |
|
|
|
|
|
|
|
|
if count == 0 { |
|
|
teamAssistance.AssistedNum++ |
|
|
teamAssistance.AssistedNum++ |
|
|
} |
|
|
} |
|
|
teamAssistance.AssistedTimes++ |
|
|
teamAssistance.AssistedTimes++ |
|
|