diff --git a/app/svc/svc_comm_deal_commission.go b/app/svc/svc_comm_deal_commission.go index 5f6d1b4..734cacc 100644 --- a/app/svc/svc_comm_deal_commission.go +++ b/app/svc/svc_comm_deal_commission.go @@ -100,6 +100,7 @@ func CommCommOrderRelateInsert(eg *xorm.Engine, oid int64, pvd string, createTim for _, v := range data { if utils.StrToInt(mapData["coin_id_type"]) > 0 { v.Amount = 0 + v.AdditionalSubsidy = "0" v.Info = "任务没佣金设置,不返佣金" } } diff --git a/app/svc/svc_deal_commission.go b/app/svc/svc_deal_commission.go index 8696a20..ef83532 100644 --- a/app/svc/svc_deal_commission.go +++ b/app/svc/svc_deal_commission.go @@ -99,6 +99,7 @@ func CommOrderRelateInsert(eg *xorm.Engine, oid int64, pvd string, createTime in for _, v := range data { if utils.StrToInt(mapData["coin_id_type"]) > 0 { v.Amount = 0 + v.AdditionalSubsidy = "0" v.Info = "任务没佣金设置,不返佣金" } }