| | |
| | | String requestURI = request.getRequestURI(); |
| | | //单项提取-登录超时 |
| | | if(exceptionStr.contains("login") && exceptionStr.contains("imeout")){ |
| | | CommonUtil.record(ActionUtil.getUser().getUId(), UserOperation.TYPE_LOGIN_TIMEOUT.getType(),"登录请求超时","异常信息:"+ exceptionStr); |
| | | CommonUtil.record(ActionUtil.getUser().getId(), UserOperation.TYPE_LOGIN_TIMEOUT.getType(),"登录请求超时","异常信息:"+ exceptionStr); |
| | | }else { |
| | | CommonUtil.record(ActionUtil.getUser().getUId(), UserOperation.TYPE_EXCEPTION.getType(), "接口调用异常:调用接口"+requestURI+"发生错误:"+exceptionStr); |
| | | CommonUtil.record(ActionUtil.getUser().getId(), UserOperation.TYPE_EXCEPTION.getType(), "接口调用异常:调用接口"+requestURI+"发生错误:"+exceptionStr); |
| | | } |
| | | return new Response().setII(0,"接口请求异常,请联系软件人员进行处理.异常信息"+ exceptionStr); |
| | | } |