From 1417e654a4b3402ef5320d25e5e30e532a18257b Mon Sep 17 00:00:00 2001 From: NorthLan <6995syu@163.com> Date: Mon, 25 Apr 2022 08:25:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9A=82=E6=97=B6=E5=8F=96=E6=B6=88=20m?= =?UTF-8?q?q=20=E6=B6=88=E6=81=AF=E5=A4=84=E7=90=86=EF=BC=8C=E4=BB=85?= =?UTF-8?q?=E5=A4=84=E7=90=86rpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/user_center/rpc/user_center.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/user_center/rpc/user_center.go b/app/user_center/rpc/user_center.go index 6d1a7db..3790d31 100644 --- a/app/user_center/rpc/user_center.go +++ b/app/user_center/rpc/user_center.go @@ -1,11 +1,8 @@ package main import ( - "context" "flag" "fmt" - "live-service/app/user_center/rpc/msg_transfer" - "live-service/app/user_center/rpc/internal/config" "live-service/app/user_center/rpc/internal/server" "live-service/app/user_center/rpc/internal/svc" @@ -29,8 +26,8 @@ func main() { svr := server.NewUserCenterServer(ctx) // msg_transfer - msg_transfer.Init(context.Background(), ctx, svr) - msg_transfer.Run() + //msg_transfer.Init(context.Background(), ctx, svr) + //msg_transfer.Run() s := zrpc.MustNewServer(c.RpcServerConf, func(grpcServer *grpc.Server) { pb.RegisterUserCenterServer(grpcServer, svr)