From 3711c5402a1073cd50281d55670bb23ffa82eaa9 Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Fri, 17 Oct 2025 15:16:48 +0800 Subject: [PATCH] 1 --- pkg/service/bundle/bundleBalance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/service/bundle/bundleBalance.go b/pkg/service/bundle/bundleBalance.go index 549981a..f8db3b9 100644 --- a/pkg/service/bundle/bundleBalance.go +++ b/pkg/service/bundle/bundleBalance.go @@ -8,6 +8,7 @@ import ( "fonchain-fiee/api/bundle" "fonchain-fiee/api/cast" "fonchain-fiee/pkg/service" + "fonchain-fiee/pkg/utils" "io" "strconv" "strings" @@ -279,6 +280,7 @@ func BundleExport(ctx *gin.Context) { userInfo := login.GetUserInfoFromC(ctx) exportFileName := fmt.Sprintf("%d月份余量信息.xlsx", time.Now().Month()) filePath := fmt.Sprintf("./runtime/%d/%s", userInfo.ID, exportFileName) + utils.CheckDirPath("./runtime/"+fmt.Sprint(userInfo.ID), true) res, err := service.BundleProvider.BundleBalanceExport(context.Background(), &req) if err != nil { service.Error(ctx, err)