diff --git a/pkg/service/bundle/bundleMetrics.go b/pkg/service/bundle/bundleMetrics.go index f4eb34e..ed6ad3a 100644 --- a/pkg/service/bundle/bundleMetrics.go +++ b/pkg/service/bundle/bundleMetrics.go @@ -256,7 +256,7 @@ func MetricsVideoSubmitExport(ctx *gin.Context) { return } newCtx := serviceCast.NewCtxWithUserInfo(ctx) - if err == nil { + if len(req.Month) > 0 { resp, err = service.CastProvider.WorkList(newCtx, &cast.WorkListReq{ SubmitTimeMonths: req.Month, Page: 1,