From 08bbc62d28e05b9eacbee3bd035d07aeced844c8 Mon Sep 17 00:00:00 2001 From: "huangsimin@fusen.cn" Date: Thu, 18 Jan 2024 17:02:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8AgroupName=E6=9B=B4=E6=96=B0=E5=9B=9E?= =?UTF-8?q?=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- goutils/proto_build/tpls/auto_grpc_nacos.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goutils/proto_build/tpls/auto_grpc_nacos.tpl b/goutils/proto_build/tpls/auto_grpc_nacos.tpl index c442b1c..9cdb510 100644 --- a/goutils/proto_build/tpls/auto_grpc_nacos.tpl +++ b/goutils/proto_build/tpls/auto_grpc_nacos.tpl @@ -26,7 +26,7 @@ func AutoGrpcInit(obj any) { value = value.Elem() } - groupName = value.FieldByName("Env").Elem().FieldByName("GroupRPC").String() + groupName = value.FieldByName("GroupName").String() for i := 0; i < value.NumField(); i++ { v := value.Field(i)