This commit is contained in:
crusader 2018-04-12 16:20:08 +09:00
parent 9fb5b13f48
commit ac80c89f48

View File

@ -116,7 +116,7 @@ func (rr *restRegistry) InvokeWithBytes(method string, params [][]byte, leadingP
} }
for indexC := 0; indexC < len(params); indexC++ { for indexC := 0; indexC < len(params); indexC++ {
if pValues[indexC+lParamLen].Type().Kind() != reflect.String { if pValues[indexC+lParamLen].Elem().Type().Kind() != reflect.String {
_params = append(_params, string(params[indexC])) _params = append(_params, string(params[indexC]))
continue continue
} }