refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

View File

@@ -8,7 +8,7 @@ import (
"bsm/full/module/ec/delivery/external/pb/delivery"
"github.com/zeromicro/go-zero/zrpc"
"bsm/full/shared/grpcconn"
"google.golang.org/grpc"
)
@@ -40,11 +40,11 @@ type (
}
defaultTeam struct {
cli zrpc.Client
cli grpcconn.Provider
}
)
func NewTeam(cli zrpc.Client) Team {
func NewTeam(cli grpcconn.Provider) Team {
return &defaultTeam{
cli: cli,
}