From a1df1ab915f1da9c3c9d224e0c2e1fdd4c4fa755 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 6 Aug 2024 14:07:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_comm_deal_commission.go | 1 + app/svc/svc_deal_commission.go | 1 + 2 files changed, 2 insertions(+) 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 = "任务没佣金设置,不返佣金" } }