|
@@ -115,7 +115,7 @@ public class BytedanceInterfaceServiceImpl implements IBytedanceInterfaceService
|
|
|
|
|
|
JSONObject json = HttpUtils.bytedanceGetRequest(access_token, open_api_domain + path, JSONObject.parseObject(JSONObject.toJSONString(data)));
|
|
|
if (json == null) {
|
|
|
- log.error("头条日志查询返回为空,请求有误:" + JSONObject.toJSONString(data));
|
|
|
+ log.error("头条日志查询返回为空,请求有误:" + JSONObject.toJSONString(data) + ";;;返回值为:"+ json);
|
|
|
return ;
|
|
|
}
|
|
|
|
|
@@ -142,7 +142,7 @@ public class BytedanceInterfaceServiceImpl implements IBytedanceInterfaceService
|
|
|
record.setOperationCreateTime(logJson.getDate("create_time"));
|
|
|
record.setStatDate(DateUtils.formatDate(logJson.getDate("create_time")));
|
|
|
record.setOperator(logJson.getString("operator"));
|
|
|
- record.setOptIp(logJson.getString("opt_id"));
|
|
|
+ record.setOptIp(logJson.getString("opt_ip"));
|
|
|
record.setOperationTarget(operationType);
|
|
|
|
|
|
records.add(record);
|
|
@@ -157,9 +157,10 @@ public class BytedanceInterfaceServiceImpl implements IBytedanceInterfaceService
|
|
|
logSearchByPage(page+1, pageSize, token, accountId, objectId, operationType, startTime, endTime);
|
|
|
}
|
|
|
}else{
|
|
|
- log.error("头条日志查询返回为空,请求有误:" + JSONObject.toJSONString(data),";;;返回值为:"+ json);
|
|
|
+ log.error("头条日志查询返回为空,请求有误:" + JSONObject.toJSONString(data)+";;;返回值为:"+ json);
|
|
|
return ;
|
|
|
}
|
|
|
+ //return 200;
|
|
|
}
|
|
|
|
|
|
private void insertLog(Integer operationTarget, List<ByteDanceOperationRecord> records){
|