sdfsdf
This commit is contained in:
parent
a097fed692
commit
0b583fea19
|
@ -61,10 +61,10 @@ func (s *ServiceImpl) ExecServices(c context.Context, in *pb.ServiceInput) (*pb.
|
||||||
switch temp.Kind() {
|
switch temp.Kind() {
|
||||||
case reflect.Ptr:
|
case reflect.Ptr:
|
||||||
NewObj = reflect.New(temp.Elem())
|
NewObj = reflect.New(temp.Elem())
|
||||||
|
}
|
||||||
convertParam(NewObj.Interface(), in.Param)
|
convertParam(NewObj.Interface(), in.Param)
|
||||||
params[i] = NewObj
|
params[i] = NewObj
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Todo Call Service Method
|
// Todo Call Service Method
|
||||||
result := methodName.Call(params)[0].String()
|
result := methodName.Call(params)[0].String()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user