Ver a proveniência

更新

master
huangjiajun há 3 meses
ascendente
cometimento
787723fc13
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      hdl/hdl_upgrade.go

+ 2
- 2
hdl/hdl_upgrade.go Ver ficheiro

@@ -173,8 +173,8 @@ func UpgradeReward(eg *xorm.Engine, user *model.User, oid string) {
if v1.Id == "-1" { //优惠券额度
svc.AddCouponRecord(eg, user, "ordinary", v1.Amount)
}
if zhios_condition_statistics_utils.StrToInt(v.Id) > 0 {
svc.AddCoin(eg, zhios_condition_statistics_utils.StrToFloat64(v1.Amount), "升级赠送", oid, 1, 188, user.Uid, zhios_condition_statistics_utils.StrToInt(v.Id))
if zhios_condition_statistics_utils.StrToInt(v1.Id) > 0 {
svc.AddCoin(eg, zhios_condition_statistics_utils.StrToFloat64(v1.Amount), "升级赠送", oid, 1, 188, user.Uid, zhios_condition_statistics_utils.StrToInt(v1.Id))
}
}
}


Carregando…
Cancelar
Guardar