更新proto 添加RPC域

This commit is contained in:
huangsimin@fusen.cn 2024-01-18 16:53:36 +08:00
parent 2fe7ad3cfb
commit 06d3b56e27

View File

@ -26,7 +26,7 @@ func AutoGrpcInit(obj any) {
value = value.Elem()
}
groupName = value.FieldByName("GroupName").String()
groupName = value.FieldByName("Env").Elem().FieldByName("GroupRPC").String()
for i := 0; i < value.NumField(); i++ {
v := value.Field(i)