This commit is contained in:
wangkang
2017-07-29 10:18:35 +08:00
parent 99c38c1577
commit cec9a644df
@@ -126,6 +126,7 @@ public class ExceptionMapping {
objectMapper.getTypeFactory().constructParametricType(RestResponse.class, String.class));
//设置子错误
errorResult.setChild(child);
//返回
return new RestResponse<>(ErrorCode.HTTP_ERROR, errorResult);
}