Browse Source

更新

master
huangjiajun 3 months ago
parent
commit
fb0dbdc6e9
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      hdl/hdl_upgrade.go

+ 3
- 0
hdl/hdl_upgrade.go View 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)
}


Loading…
Cancel
Save