Compare commits
2 Commits
0a084828d6
...
3e1334bc3a
Author | SHA1 | Date | |
---|---|---|---|
3e1334bc3a | |||
3711c5402a |
@ -8,8 +8,9 @@ import (
|
||||
"fonchain-fiee/api/bundle"
|
||||
"fonchain-fiee/api/cast"
|
||||
"fonchain-fiee/pkg/service"
|
||||
"log"
|
||||
"fonchain-fiee/pkg/utils"
|
||||
"io"
|
||||
"log"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
@ -280,6 +281,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)
|
||||
|
Loading…
Reference in New Issue
Block a user