luodangjia
2024-09-27 801164d62ea165e90e77cd7da90829b1615532e3
ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/handler/GlobalExceptionHandler.java
@@ -34,7 +34,7 @@
public class GlobalExceptionHandler {
   private static final Logger log = LoggerFactory.getLogger(GlobalExceptionHandler.class);
   
   @Value("${spring.servlet.multipart.max-file-size:10MB}")
   @Value("${spring.servlet.multipart.max-file-size:50MB}")
   private String maxFileSize;
   @Value("${spring.servlet.multipart.max-request-size:100MB}")
   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());
   }
   
   /**