From 7d6f141d4ee37c90e009617cdccc2bf5668f37d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=80=E5=B0=BC=E9=BE=9F?= <365252428@qq.com> Date: Tue, 8 Jul 2025 14:19:54 +0800 Subject: [PATCH] 111 --- pkg/service/bundle/reconciliation.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/service/bundle/reconciliation.go b/pkg/service/bundle/reconciliation.go index 524a3cf..560f727 100644 --- a/pkg/service/bundle/reconciliation.go +++ b/pkg/service/bundle/reconciliation.go @@ -195,7 +195,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { f64, err := strconv.ParseFloat(unfinishInfo.OrderPayAmount, 32) TotalPrice = float32(f64) addRecords = append(addRecords, - &bundle.OrderCreateAddRecord{ //视频 + &bundle.OrderCreateAddRecord{ ServiceType: 1, ValueUid: videoUuid, CurrencyType: 2, //美元 @@ -204,6 +204,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Unit: "个", Source: 1, PaymentStatus: 1, + HandlingFee: unfinishInfo.OrderFeeAmount, }, &bundle.OrderCreateAddRecord{ //图文 ServiceType: 2, ValueUid: textAndImagesUuid, @@ -213,6 +214,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Unit: "个", Source: 1, PaymentStatus: 1, + HandlingFee: unfinishInfo.OrderFeeAmount, }, &bundle.OrderCreateAddRecord{ //数据报表 ServiceType: 3, ValueUid: reportUuid, @@ -222,6 +224,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Unit: "个", Source: 1, PaymentStatus: 1, + HandlingFee: unfinishInfo.OrderFeeAmount, }, &bundle.OrderCreateAddRecord{ //账号数 ServiceType: 4, ValueUid: accountUuid, @@ -231,6 +234,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Unit: "个", Source: 1, PaymentStatus: 1, + HandlingFee: unfinishInfo.OrderFeeAmount, }, &bundle.OrderCreateAddRecord{ //可用时长 ServiceType: 5, ValueUid: durationUuid, @@ -240,6 +244,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Unit: "年", Source: 1, PaymentStatus: 1, + HandlingFee: unfinishInfo.OrderFeeAmount, }, ) // 当前 未将 签名 写入合同中 todo 金额和有效时间待修改