From f8c510558053a83ffc297347401c80e002c7ab9d Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Mon, 20 Oct 2025 14:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=99=E9=87=8F=E5=88=9B?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/bundleExtend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dao/bundleExtend.go b/internal/dao/bundleExtend.go index 4c940b9..d8a5dba 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -376,7 +376,7 @@ func ExtendBundleBalanceByUserId(data model.BundleBalanceExtendPo) error { } func CreateBundleBalance(data model.BundleBalance) error { - return app.ModuleClients.BundleDB.Create(&data).Error + return app.ModuleClients.BundleDB.Save(&data).Error } func GetUsedRecord(req *bundle.GetUsedRecordListReq) (data []model.CostLogPo, total int64, err error) {