无关风月
2024-09-27 f27f3a1da27ff11e3c12dc1841094a0419a4279a
ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/handler/GlobalExceptionHandler.java
@@ -34,9 +34,9 @@
public class GlobalExceptionHandler {
   private static final Logger log = LoggerFactory.getLogger(GlobalExceptionHandler.class);
   
   @Value("${spring.servlet.multipart.max-file-size:50MB}")
   @Value("${spring.servlet.multipart.max-file-size}")
   private String maxFileSize;
   @Value("${spring.servlet.multipart.max-request-size:100MB}")
   @Value("${spring.servlet.multipart.max-request-size}")
   private String maxRequestSize;
   
   
@@ -88,7 +88,7 @@
   public AjaxResult handleRuntimeException(RuntimeException e, HttpServletRequest request) {
      String requestURI = request.getRequestURI();
      log.error("请求地址'{}',发生未知异常.", requestURI, e);
      throw new RuntimeException(e.getMessage());
      return AjaxResult.error(e.getMessage());
   }
   
   /**