|
@@ -64,7 +64,6 @@ public class TrackMonitorLogsServiceImpl extends ServiceImpl<TrackMonitorLogsMap
|
|
param.put("end_date", endDate);
|
|
param.put("end_date", endDate);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
- System.err.println(resultJson);
|
|
|
|
if (Check.isNull(resultJson)) {
|
|
if (Check.isNull(resultJson)) {
|
|
log.error("获取广告创意返回结果为空,advertiserId:{}", accountId);
|
|
log.error("获取广告创意返回结果为空,advertiserId:{}", accountId);
|
|
return;
|
|
return;
|
|
@@ -149,7 +148,6 @@ public class TrackMonitorLogsServiceImpl extends ServiceImpl<TrackMonitorLogsMap
|
|
param.put("end_date", endDate);
|
|
param.put("end_date", endDate);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
- System.err.println(resultJson);
|
|
|
|
if (Check.isNull(resultJson)) {
|
|
if (Check.isNull(resultJson)) {
|
|
log.error("获取广告创意返回结果为空,advertiserId:{}", accountId);
|
|
log.error("获取广告创意返回结果为空,advertiserId:{}", accountId);
|
|
return;
|
|
return;
|
|
@@ -211,16 +209,6 @@ public class TrackMonitorLogsServiceImpl extends ServiceImpl<TrackMonitorLogsMap
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
- public static void main(String[] args) {
|
|
|
|
- String a = " a";
|
|
|
|
- String b = "a";
|
|
|
|
- if (a.trim().equals(b)) {
|
|
|
|
- System.err.println(123);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
private void doOperation(Long accountId, String accessToken, Map<Long, JSONObject> unitMap, String userId) {
|
|
private void doOperation(Long accountId, String accessToken, Map<Long, JSONObject> unitMap, String userId) {
|
|
List<TrackMonitorLogs> trackMonitorLogs = new ArrayList<>();
|
|
List<TrackMonitorLogs> trackMonitorLogs = new ArrayList<>();
|
|
for (Map.Entry<Long, JSONObject> entry : unitMap.entrySet()) {
|
|
for (Map.Entry<Long, JSONObject> entry : unitMap.entrySet()) {
|