wangliang 3 سال پیش
والد
کامیت
e67dba5e02
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      themis-exam/src/main/java/com/qmth/themis/exam/aspect/ApiControllerAspect.java

+ 2 - 1
themis-exam/src/main/java/com/qmth/themis/exam/aspect/ApiControllerAspect.java

@@ -1,5 +1,6 @@
 package com.qmth.themis.exam.aspect;
 
+import com.qmth.themis.business.constant.SystemConstant;
 import com.qmth.themis.business.util.JacksonUtil;
 import com.qmth.themis.business.util.ServletUtil;
 import com.qmth.themis.common.exception.BusinessException;
@@ -73,7 +74,7 @@ public class ApiControllerAspect {
             }
             return joinPoint.proceed();
         } catch (Exception e) {
-            log.error("Api exception", e);
+            log.error(SystemConstant.LOG_ERROR, e);
             if (e instanceof BusinessException) {
                 return ResultUtil.error((BusinessException) e, e.getMessage());
             } else {