Commit 261e41de by 冯支

Merge branch 'dev' into 'master'

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

See merge request !2
2 parents 02646b24 7ef5ae0e
......@@ -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!