|
|
@@ -72,22 +72,19 @@ public class BytedancePushDataController {
|
|
|
public void run() {
|
|
|
JSONObject tokenJson = bytedanceProjectService.getTokenByAccountId(advertiserId);
|
|
|
if (!Check.isNull(tokenJson)) {
|
|
|
- Map<Long, JSONObject> projectMap = new HashMap<>();
|
|
|
String accessToken = tokenJson.getString("accessToken");
|
|
|
Integer accountStatus = tokenJson.getInteger("accountStatus");
|
|
|
if (!Check.isNull(accountStatus)) {
|
|
|
if (accountStatus == 0) {
|
|
|
+ Map<Long, JSONObject> projectMap = new HashMap<>();
|
|
|
bytedanceProjectService.getPromotionList(advertiserId, accessToken, ids, projectMap, 1);
|
|
|
+ } else {
|
|
|
+ log.error("此账户已暂停,跳过预警,accountId:{}", advertiserId);
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|