|
@@ -260,9 +260,10 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
}
|
|
|
JSONArray data = resultObject.getJSONObject("data").getJSONArray("list");
|
|
|
if (null == data || data.isEmpty()) {
|
|
|
- log.error("获取广告计划结果为空==》accountId:{},message:{}", token.getAccountId(), resultObject.getString("message"));
|
|
|
return;
|
|
|
}
|
|
|
+ log.info("获取广告计划信息成功==》accountId:{}", token.getAccountId());
|
|
|
+
|
|
|
Long accountId = token.getAccountId();
|
|
|
UserAllocation userAllocation = userAllocationService.getByAccountId(accountId);
|
|
|
Long projectId = null;
|
|
@@ -433,7 +434,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
}
|
|
|
|
|
|
private void sendMsg(Long accountId, Long planId, String text, String type) {
|
|
|
- MediaSendAlarmRecord record = new MediaSendAlarmRecord(accountId,"1",text);
|
|
|
+ MediaSendAlarmRecord record = new MediaSendAlarmRecord(accountId, "1", text);
|
|
|
//关停计划
|
|
|
CtopOauthToken token = tokenService.getTokenByAccountId(accountId);
|
|
|
if ("plan".equals(type)) {
|
|
@@ -460,7 +461,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
}
|
|
|
|
|
|
//添加记录 ctop_media_send_alarm_record
|
|
|
- public void insertSendRecord(MediaSendAlarmRecord record){
|
|
|
+ public void insertSendRecord(MediaSendAlarmRecord record) {
|
|
|
creativeMapper.insertSendRecord(record);
|
|
|
}
|
|
|
|