派生自 projectDept/qhighschool

EricsHu
2023-05-29 cc70ac05f3fcca3b85f7860e7404bb2bfc4429a6
src/main/java/com/qxueyou/scc/base/handler/QXueyouExceptionHandler.java
@@ -11,8 +11,8 @@
import org.springframework.web.servlet.ModelAndView;
/**
 * Spring MVC 异常处理类
 * @author 德虎
 * Spring MVC 异常处理类
 * @author 德虎
 *
 */
@ControllerAdvice
@@ -25,7 +25,7 @@
         throws Exception {
      long exepCode = System.currentTimeMillis();
      log.error(req.getRequestURL() + ",诊断代码:" + exepCode + ":" + e.getMessage(), e);
      log.error(req.getRequestURL() + ",诊断代码:" + exepCode + ":" + e.getMessage(), e);
      if (AnnotationUtils.findAnnotation(e.getClass(), ResponseStatus.class) != null) {
         throw e;