Browse Source

update

master
dengbiao 2 days ago
parent
commit
02cbc3a016
1 changed files with 0 additions and 11 deletions
  1. +0
    -11
      consume/egg_energy_team_assistance_consume.go

+ 0
- 11
consume/egg_energy_team_assistance_consume.go View File

@@ -117,17 +117,6 @@ func handleEggEnergyTeamAssistanceDataConsume(msgData []byte) error {
// 如果未助力过, 助力人数 + 1 添加助力信息
if !exist {
teamAssistance.AssistedNum++
m := model.EggEnergyAssistanceDetail{
Uid: msg.Uid,
AssistedUid: msg.AssistanceUid,
SignId: msg.SignId,
CreatedAt: now.Format("2006-01-02 15:04:05"),
UpdatedAt: now.Format("2006-01-02 15:04:05"),
}
_, err = detailDb.AssistanceDetailInsert(&m)
if err != nil {
return err
}
}
teamAssistance.AssistedTimes++
_, err = assistanceDb.EggEnergyTeamAssistanceUpdate(teamAssistance.Id, teamAssistance, "assisted_num", "reward_score", "assisted_times")


Loading…
Cancel
Save