Commit 7ef5ae0e by fz

1.dubbo配置修改,全局异常修改打印

1 parent 882b8856
......@@ -31,7 +31,7 @@ public class DubboConfig {
return factory.builder(OpenApiService.class)
.check(false)
.timeout(30000)
.url(SystemProperty.getProperty(OpenAPIConstant.DUBBO_SERVICE_URL))
//.url(SystemProperty.getProperty(OpenAPIConstant.DUBBO_SERVICE_URL))
.build();
}
......
......@@ -42,6 +42,8 @@ public class GlobalExceptionHandler {
.stream()
.map(FieldError::getDefaultMessage)
.collect(Collectors.toList());
log.error("参数异常:" + errs);
return ApiErrorMessage.ARGS_NULL.exception(errs).getResultEntity();
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!