| | |
| | | public String SsoCurUserUrl ; |
| | | |
| | | private LogService logSv; |
| | | @Value("${pms.global.dev}") |
| | | public String isDevStage ;//是否为开发阶段 |
| | | @Autowired |
| | | public void setLogSv(LogService logSv){ |
| | | this.logSv = logSv; |
| | |
| | | |
| | | @AfterReturning(pointcut = "@annotation(com.dy.pmsGlobal.aop.Log)", returning = "result") |
| | | public void logAfterReturning(JoinPoint joinPoint, BaseResponse result) { |
| | | if(isDevStage != null && !isDevStage.trim().equals("") && isDevStage.trim().equalsIgnoreCase("true")){ |
| | | return; |
| | | } |
| | | try{ |
| | | // 获取用户信息 |
| | | BaUser user = (BaUser)getCurUser(result); |