发送事件,增加打印日志

This commit is contained in:
daihh
2022-10-27 19:06:07 +08:00
parent d36b63a0d7
commit 45200276e1

View File

@@ -61,6 +61,7 @@ public class EventDataSender implements IEventDataSender{
String responseStr = okHttpUtil.doPostJson(url, json,headers);
if(responseStr.indexOf("\"status\":200")==-1) {
log.error("发送事件失败:"+responseStr);
log.info("【发送的token】"+headers[0]+" "+headers[1]);
}
}catch(Exception e) {
log.error("发送事件错误",e);