把groupName更新回来
This commit is contained in:
parent
06d3b56e27
commit
08bbc62d28
|
@ -26,7 +26,7 @@ func AutoGrpcInit(obj any) {
|
||||||
value = value.Elem()
|
value = value.Elem()
|
||||||
}
|
}
|
||||||
|
|
||||||
groupName = value.FieldByName("Env").Elem().FieldByName("GroupRPC").String()
|
groupName = value.FieldByName("GroupName").String()
|
||||||
|
|
||||||
for i := 0; i < value.NumField(); i++ {
|
for i := 0; i < value.NumField(); i++ {
|
||||||
v := value.Field(i)
|
v := value.Field(i)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user