dengbiao pirms 1 dienas
vecāks
revīzija
02cbc3a016
1 mainītis faili ar 0 papildinājumiem un 11 dzēšanām
  1. +0
    -11
      consume/egg_energy_team_assistance_consume.go

+ 0
- 11
consume/egg_energy_team_assistance_consume.go Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt