fix:包名改动
This commit is contained in:
parent
212b7cd860
commit
5d120a6c05
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue