Authored by qinchao

联盟跳转页面报警

... ... @@ -58,12 +58,12 @@ public class WapUrlAlarm
ResponseEntity<String> responseEntity = restTemplate.exchange(uri, HttpMethod.GET, requestEntity, String.class);
HttpStatus status = responseEntity.getStatusCode();
if (200!=status.value()){
alarm("联盟跳转页面访问异常,code="+status.value(),mobile_user);
alarm("联盟跳转页面访问异常url="+WATCH_URL+",code="+status.value(),mobile_user);
}
} catch (Exception e) {
logger.error("WapUrlAlarm watchurl 联盟跳转 error",e);
alarm("联盟跳转页面访问异常,探测异常",mobile_user);
alarm("联盟跳转页面访问异常url="+WATCH_URL+",探测异常访问超时",mobile_user);
}
}
... ...