fix:包名改动

This commit is contained in:
fuzhongyun 2025-12-31 10:26:17 +08:00
parent 212b7cd860
commit 5d120a6c05
2 changed files with 5 additions and 5 deletions

View File

@ -3,17 +3,17 @@ package repo
import ( import (
"ai_scheduler/internal/config" "ai_scheduler/internal/config"
"ai_scheduler/internal/data/impl" "ai_scheduler/internal/data/impl"
"ai_scheduler/internal/pkg/oss" "ai_scheduler/internal/pkg/utils_oss"
) )
// Repos 聚合所有 Repository // Repos 聚合所有 Repository
type Repos struct { type Repos struct {
Session SessionRepo Session SessionRepo
OssClient *oss.Client OssClient *utils_oss.Client
} }
func NewRepos(sessionImpl *impl.SessionImpl, cfg *config.Config) *Repos { func NewRepos(sessionImpl *impl.SessionImpl, cfg *config.Config) *Repos {
ossClient, _ := oss.NewClient(cfg.Oss) ossClient, _ := utils_oss.NewClient(cfg)
return &Repos{ return &Repos{
Session: NewSessionAdapter(sessionImpl), Session: NewSessionAdapter(sessionImpl),
OssClient: ossClient, OssClient: ossClient,

View File

@ -7,7 +7,7 @@ import (
"ai_scheduler/internal/domain/tools/recharge/statistics_ours_product" "ai_scheduler/internal/domain/tools/recharge/statistics_ours_product"
"ai_scheduler/internal/domain/workflow/runtime" "ai_scheduler/internal/domain/workflow/runtime"
"ai_scheduler/internal/entitys" "ai_scheduler/internal/entitys"
"ai_scheduler/internal/pkg/oss" "ai_scheduler/internal/pkg/utils_oss"
"context" "context"
"errors" "errors"
"fmt" "fmt"
@ -28,7 +28,7 @@ func init() {
type statisticsOursProduct struct { type statisticsOursProduct struct {
cfg *config.Config cfg *config.Config
toolManager *toolManager.Manager toolManager *toolManager.Manager
ossClient *oss.Client ossClient *utils_oss.Client
} }
type StatisticsOursProductWorkflowInput struct { type StatisticsOursProductWorkflowInput struct {