kongzy
2024-07-05 14821e28286d773ad5ff2c13510e39c5eb117daf
exam-framework/src/main/java/com/gkhy/exam/framework/aspectj/LogAspect.java
@@ -9,8 +9,6 @@
import com.gkhy.exam.common.utils.SecurityUtils;
import com.gkhy.exam.common.utils.ServletUtils;
import com.gkhy.exam.common.utils.StringUtils;
import com.gkhy.exam.framework.manager.AsyncManager;
import com.gkhy.exam.framework.manager.factory.AsyncFactory;
import com.gkhy.exam.system.domain.SysOperLog;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.ArrayUtils;
@@ -99,7 +97,8 @@
            operLog.setRequestMethod(request.getMethod());
            getControllerMethodDescription(joinPoint, controllerLog, operLog, jsonResult);
            operLog.setCostTime(System.currentTimeMillis()-TIME_THREADLOCAL.get());
            AsyncManager.me().execute(AsyncFactory.recordOper(operLog));
            log.info(JSON.toJSONString(operLog));
           // AsyncManager.me().execute(AsyncFactory.recordOper(operLog));
        }catch (Exception exp){
            log.error("异常信息:{}",exp.getMessage());
            exp.printStackTrace();