fix version 1

This commit is contained in:
2026-09-22 21:15:34 +08:00
parent 9f86366638
commit d63d7e8b3a
277 changed files with 9959 additions and 1514 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"bsm/full/module/base/sender/internal/config"
"bsm/full/module/base/sender/internal/impl"
"bsm/full/module/base/sender/internal/server"
pb "bsm/full/module/base/sender/pb"
gwRuntime "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
@@ -24,6 +25,8 @@ func Expose(options ExposeOptions) error {
if options.Config != nil {
config.Spec = *options.Config
}
// 聚合部署下配置在此注入,需重建服务商客户端,否则 Provider 恒为 nil
impl.InitProvider()
server.New(options.GRPC)
ctx := context.Background()