dengbiao 1 dzień temu
rodzic
commit
02cbc3a016
1 zmienionych plików z 0 dodań i 11 usunięć
  1. +0
    -11
      consume/egg_energy_team_assistance_consume.go

+ 0
- 11
consume/egg_energy_team_assistance_consume.go Wyświetl plik

@@ -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")


Ładowanie…
Anuluj
Zapisz