fix:算法请求调整
This commit is contained in:
@@ -21,9 +21,8 @@ type Config struct {
|
||||
}
|
||||
}
|
||||
BLMService struct {
|
||||
Url string
|
||||
LogoCombine struct {
|
||||
Url string
|
||||
}
|
||||
Version string
|
||||
Url string
|
||||
Ports []string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,9 +42,10 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
RabbitMq: initalize.InitRabbitMq(c.SourceRabbitMq, nil),
|
||||
AwsSession: session.Must(session.NewSession(&config)),
|
||||
Repositories: initalize.NewAllRepositories(&initalize.NewAllRepositorieData{
|
||||
GormDB: initalize.InitMysql(c.SourceMysql),
|
||||
BLMServiceUrl: &c.BLMService.Url,
|
||||
AwsSession: session.Must(session.NewSession(&config)),
|
||||
GormDB: initalize.InitMysql(c.SourceMysql),
|
||||
BLMServiceUrl: &c.BLMService.Url,
|
||||
BLMServicePorts: c.BLMService.Ports,
|
||||
AwsSession: session.Must(session.NewSession(&config)),
|
||||
}),
|
||||
Tracing: middleware.NewTracingMiddleware().Handle,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user