From 78279cbc82754ae87a0cbd0a72e44a2db8f978a8 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 13:40:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/bundle/reconciliation.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/service/bundle/reconciliation.go b/pkg/service/bundle/reconciliation.go index 7fe9e28..f732f2a 100644 --- a/pkg/service/bundle/reconciliation.go +++ b/pkg/service/bundle/reconciliation.go @@ -223,7 +223,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Source: 1, PaymentStatus: 1, }, &bundle.OrderCreateAddRecord{ //账号数 - ServiceType: 3, + ServiceType: 4, ValueUid: accountUuid, CurrencyType: 2, //美元 Amount: 0, //增值服务金额 @@ -232,7 +232,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { Source: 1, PaymentStatus: 1, }, &bundle.OrderCreateAddRecord{ //可用时长 - ServiceType: 3, + ServiceType: 5, ValueUid: durationUuid, CurrencyType: 2, //美元 Amount: 0, //增值服务金额 @@ -270,6 +270,7 @@ func AutoCreateUserAndOrder(c *gin.Context) { orderReq.BundleUuid = BundleUuid orderReq.Language = "en-US" orderReq.OrderNo = unfinishInfo.OrderNo + orderReq.ExpirationTime = expirationDay _, err = service.BundleProvider.CreateOrderRecord(context.Background(), &orderReq) if err != nil { service.Error(c, err)