From 5d120a6c05ba3567d7977e633f1b75674e258473 Mon Sep 17 00:00:00 2001 From: fuzhongyun <15339891972@163.com> Date: Wed, 31 Dec 2025 10:26:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=8C=85=E5=90=8D=E6=94=B9?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/domain/repo/repos.go | 6 +++--- .../domain/workflow/recharge/statistics_ours_product.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/domain/repo/repos.go b/internal/domain/repo/repos.go index a3250ba..0350d95 100644 --- a/internal/domain/repo/repos.go +++ b/internal/domain/repo/repos.go @@ -3,17 +3,17 @@ package repo import ( "ai_scheduler/internal/config" "ai_scheduler/internal/data/impl" - "ai_scheduler/internal/pkg/oss" + "ai_scheduler/internal/pkg/utils_oss" ) // Repos 聚合所有 Repository type Repos struct { Session SessionRepo - OssClient *oss.Client + OssClient *utils_oss.Client } func NewRepos(sessionImpl *impl.SessionImpl, cfg *config.Config) *Repos { - ossClient, _ := oss.NewClient(cfg.Oss) + ossClient, _ := utils_oss.NewClient(cfg) return &Repos{ Session: NewSessionAdapter(sessionImpl), OssClient: ossClient, diff --git a/internal/domain/workflow/recharge/statistics_ours_product.go b/internal/domain/workflow/recharge/statistics_ours_product.go index 91d5092..d8bd64a 100644 --- a/internal/domain/workflow/recharge/statistics_ours_product.go +++ b/internal/domain/workflow/recharge/statistics_ours_product.go @@ -7,7 +7,7 @@ import ( "ai_scheduler/internal/domain/tools/recharge/statistics_ours_product" "ai_scheduler/internal/domain/workflow/runtime" "ai_scheduler/internal/entitys" - "ai_scheduler/internal/pkg/oss" + "ai_scheduler/internal/pkg/utils_oss" "context" "errors" "fmt" @@ -28,7 +28,7 @@ func init() { type statisticsOursProduct struct { cfg *config.Config toolManager *toolManager.Manager - ossClient *oss.Client + ossClient *utils_oss.Client } type StatisticsOursProductWorkflowInput struct {