派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
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;