huangjiajun 3 mesi fa
parent
commit
fb0dbdc6e9
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      hdl/hdl_upgrade.go

+ 3
- 0
hdl/hdl_upgrade.go Vedi File

@@ -167,6 +167,9 @@ func UpgradeReward(eg *xorm.Engine, user *model.User, oid string) {
continue
}
for _, v1 := range v.Reward {
if zhios_condition_statistics_utils.StrToFloat64(v1.Amount) <= 0 {
continue
}
if v1.Id == "-1" { //优惠券额度
svc.AddCouponRecord(eg, user, "ordinary", v1.Amount)
}


Caricamento…
Annulla
Salva