Ver código fonte

update

master
dengbiao 1 dia atrás
pai
commit
02cbc3a016
1 arquivos alterados com 0 adições e 11 exclusões
  1. +0
    -11
      consume/egg_energy_team_assistance_consume.go

+ 0
- 11
consume/egg_energy_team_assistance_consume.go Ver arquivo

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


Carregando…
Cancelar
Salvar