fix:算法请求调整
This commit is contained in:
@@ -22,10 +22,8 @@ type Config struct {
|
||||
}
|
||||
}
|
||||
BLMService struct {
|
||||
Url string
|
||||
LogoCombine struct {
|
||||
Url string
|
||||
}
|
||||
Version string
|
||||
Urls []string
|
||||
}
|
||||
Unity struct {
|
||||
Host string
|
||||
|
||||
@@ -41,9 +41,9 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
RabbitMq: initalize.InitRabbitMq(c.SourceRabbitMq, nil),
|
||||
AwsSession: session.Must(session.NewSession(&config)),
|
||||
Repositories: initalize.NewAllRepositories(&initalize.NewAllRepositorieData{
|
||||
GormDB: conn,
|
||||
BLMServiceUrl: &c.BLMService.Url,
|
||||
AwsSession: session.Must(session.NewSession(&config)),
|
||||
GormDB: conn,
|
||||
BLMServiceUrls: c.BLMService.Urls,
|
||||
AwsSession: session.Must(session.NewSession(&config)),
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user