diff --git a/app/brahma/api/murder/internal/handler/scripts_h.go b/app/brahma/api/murder/internal/handler/scripts_h.go index 7bf9b21..523d973 100644 --- a/app/brahma/api/murder/internal/handler/scripts_h.go +++ b/app/brahma/api/murder/internal/handler/scripts_h.go @@ -91,7 +91,7 @@ func DeleteScriptsH(ctx *fiber.Ctx) error { func GetScriptApi(ctx *fiber.Ctx) error { outgoingContext, cancelFunc := pkg.TransFiberCtx2NewOutgoingContext(ctx, 3*time.Second) defer cancelFunc() - c := murders.NewMurdersClient(rpc.GetServiceConn("murder")) + c := murders.NewMurdersClient(rpc.GetServiceConn("token")) page := ctx.Query("page", "1") limit := ctx.Query("size", "10") diff --git a/app/brahma/service/token/internal/server/server.go b/app/brahma/service/token/internal/server/server.go index 2dcfec3..27f137c 100644 --- a/app/brahma/service/token/internal/server/server.go +++ b/app/brahma/service/token/internal/server/server.go @@ -11,7 +11,7 @@ import ( ) func RpcServer() { - lis, err := net.Listen("tcp", ":3001") + lis, err := net.Listen("tcp", ":3100") if err != nil { ctxLogger.Info(nil, "brahma server start up error", zap.String("error", err.Error())) }