src/main/java/com/zy/common/config/AspectConfig.java
@@ -63,7 +63,7 @@ if (annotation != null && !Cools.isEmpty(annotation.memo())) { saveErrLog(joinPoint, request, errorResponse, ex, annotation.memo()); } throw ex; return errorResponse; } finally { long end = System.currentTimeMillis(); // log.info("请求日志的打印"); @@ -122,7 +122,7 @@ private Object buildErrorResponse(Throwable ex) { if (ex instanceof CoolException) { return R.parse(ex.getMessage()); return R.error(ex.getMessage()); } return R.error(); }