From 9ea82c0b9ab6466c9d18581f5f25af76034baec6 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 24 Oct 2024 09:21:51 +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_order_track_save.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/svc/svc_order_track_save.go b/app/svc/svc_order_track_save.go index cb58d69..f981354 100644 --- a/app/svc/svc_order_track_save.go +++ b/app/svc/svc_order_track_save.go @@ -425,7 +425,7 @@ func OrderRelateInsertCommService(eg *xorm.Engine, oid int64, pvd string, create ownSubsidyFee = ownSubsidyFee1 } profit := utils.FloatFormat(lvUser.Profit+lvUser.SubsidyFee+ownSubsidyFee, 9) - data := []*model.OrdListRelate{{Oid: oid, Uid: lvUser.Uid, Amount: profit, AdditionalSubsidy: utils.Float64ToStrByPrec(lvUser.AdditionalSubsidy, 9), Pvd: pvd, CreateAt: createTime, Level: level, Mode: mode, ExtendType: lvUser.ExtendType}} + data := []*model.OrdListRelate{{Oid: oid, Uid: lvUser.Uid, Amount: profit, AdditionalSubsidy: utils.Float64ToStrByPrec(lvUser.AdditionalSubsidy, 9), Pvd: pvd, CreateAt: createTime, Level: level, Mode: mode, ExtendType: 8}} for lvUser.ParentUser != nil { lvUser = lvUser.ParentUser fmt.Println(lvUser) @@ -448,7 +448,7 @@ func OrderRelateInsertCommService(eg *xorm.Engine, oid int64, pvd string, create Level: level, Mode: mode, AdditionalSubsidy: utils.Float64ToStrByPrec(additionalSubsidy, 9), - ExtendType: lvUser.ExtendType, + ExtendType: 8, }) } return data