把groupName更新回来

This commit is contained in:
huangsimin@fusen.cn 2024-01-18 17:02:13 +08:00
parent 06d3b56e27
commit 08bbc62d28

View File

@ -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)