diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 20b4eb3..7aff5c5 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -53,7 +53,7 @@ services: - JUNHONG_LOGGING_DEVELOPMENT=false # 对象存储配置 - JUNHONG_STORAGE_PROVIDER=s3 - - JUNHONG_STORAGE_S3_ENDPOINT=http://obs-helf.cucloud.cn + - JUNHONG_STORAGE_S3_ENDPOINT=https://obs-helf.cucloud.cn - JUNHONG_STORAGE_S3_REGION=cn-langfang-2 - JUNHONG_STORAGE_S3_BUCKET=cmp - JUNHONG_STORAGE_S3_ACCESS_KEY_ID=598F558CF6FF46E79D1CFC607852378C9523 @@ -125,7 +125,7 @@ services: - JUNHONG_LOGGING_DEVELOPMENT=false # 对象存储配置 - JUNHONG_STORAGE_PROVIDER=s3 - - JUNHONG_STORAGE_S3_ENDPOINT=http://obs-helf.cucloud.cn + - JUNHONG_STORAGE_S3_ENDPOINT=https://obs-helf.cucloud.cn - JUNHONG_STORAGE_S3_REGION=cn-langfang-2 - JUNHONG_STORAGE_S3_BUCKET=cmp - JUNHONG_STORAGE_S3_ACCESS_KEY_ID=598F558CF6FF46E79D1CFC607852378C9523 diff --git a/internal/bootstrap/services.go b/internal/bootstrap/services.go index 1c4ca05..6a4e9c1 100644 --- a/internal/bootstrap/services.go +++ b/internal/bootstrap/services.go @@ -119,6 +119,6 @@ func initServices(s *stores, deps *Dependencies) *services { ShopPackageBatchPricing: shopPackageBatchPricingSvc.New(deps.DB, s.ShopPackageAllocation, s.ShopPackageAllocationPriceHistory, s.Shop), CommissionStats: commissionStatsSvc.New(s.ShopSeriesCommissionStats), PurchaseValidation: purchaseValidation, - Order: orderSvc.New(deps.DB, s.Order, s.OrderItem, s.Wallet, purchaseValidation, s.ShopSeriesAllocationConfig, deps.WechatPayment, deps.QueueClient, deps.Logger), + Order: orderSvc.New(deps.DB, s.Order, s.OrderItem, s.Wallet, purchaseValidation, s.ShopSeriesAllocationConfig, s.ShopSeriesAllocation, s.IotCard, s.Device, deps.WechatPayment, deps.QueueClient, deps.Logger), } }