Compare commits
No commits in common. "3e1334bc3a9e7e70d85fbfc16251a8a07bc623fe" and "0a084828d63c68eea4132dec6282d5346172b2d7" have entirely different histories.
3e1334bc3a
...
0a084828d6
@ -8,9 +8,8 @@ import (
|
|||||||
"fonchain-fiee/api/bundle"
|
"fonchain-fiee/api/bundle"
|
||||||
"fonchain-fiee/api/cast"
|
"fonchain-fiee/api/cast"
|
||||||
"fonchain-fiee/pkg/service"
|
"fonchain-fiee/pkg/service"
|
||||||
"fonchain-fiee/pkg/utils"
|
|
||||||
"io"
|
|
||||||
"log"
|
"log"
|
||||||
|
"io"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@ -281,7 +280,6 @@ func BundleExport(ctx *gin.Context) {
|
|||||||
userInfo := login.GetUserInfoFromC(ctx)
|
userInfo := login.GetUserInfoFromC(ctx)
|
||||||
exportFileName := fmt.Sprintf("%d月份余量信息.xlsx", time.Now().Month())
|
exportFileName := fmt.Sprintf("%d月份余量信息.xlsx", time.Now().Month())
|
||||||
filePath := fmt.Sprintf("./runtime/%d/%s", userInfo.ID, exportFileName)
|
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)
|
res, err := service.BundleProvider.BundleBalanceExport(context.Background(), &req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
service.Error(ctx, err)
|
service.Error(ctx, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user