|
|
@@ -38,8 +38,8 @@ public class GlobalResponseHandler implements ResponseBodyAdvice<Object> { |
|
|
|
if (o instanceof String) { |
|
|
|
return JSONUtil.toJsonStr(apiResponse); |
|
|
|
} |
|
|
|
// return ApiResponse.ofSuccess(o); |
|
|
|
return o; |
|
|
|
return ApiResponse.ofSuccess(o); |
|
|
|
// return o; |
|
|
|
} |
|
|
|
|
|
|
|
private Boolean filter(MethodParameter methodParameter) { |
|
|
|