This commit is contained in:
geek 2017-06-07 20:26:49 +09:00
parent a097fed692
commit 0b583fea19

View File

@ -61,10 +61,10 @@ func (s *ServiceImpl) ExecServices(c context.Context, in *pb.ServiceInput) (*pb.
switch temp.Kind() {
case reflect.Ptr:
NewObj = reflect.New(temp.Elem())
}
convertParam(NewObj.Interface(), in.Param)
params[i] = NewObj
}
}
// Todo Call Service Method
result := methodName.Call(params)[0].String()