| | |
| | | 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; |
| | |
| | | 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(); |