|
@@ -261,9 +261,17 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
if (null == data || data.isEmpty()) {
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
+ UserAllocation userAllocation = userAllocationService.getByAccountId(token.getAccountId());
|
|
|
+ Long projectId = null;
|
|
|
+ if (!Check.isNull(userAllocation)) {
|
|
|
+ projectId = userAllocation.getProjectId();
|
|
|
+ }
|
|
|
for (int i = 0; i < data.size(); i++) {
|
|
|
JSONObject dataObject = data.getJSONObject(i);
|
|
|
- checkBidType(token.getAccountId(), dataObject);
|
|
|
+ if (projectId != 2370887L) {
|
|
|
+ checkBidType(token.getAccountId(), dataObject);
|
|
|
+ }
|
|
|
ByteDanceAdvertisePlan advertisePlan = new ByteDanceAdvertisePlan(dataObject, String.valueOf(token.getAccountId()));
|
|
|
BigDecimal deepCpabid = dataObject.getBigDecimal("deep_cpabid");
|
|
|
if (null != deepCpabid) {
|
|
@@ -414,7 +422,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
//关停计划
|
|
|
CtopOauthToken token = tokenService.getTokenByAccountId(accountId);
|
|
|
marketingServiceImpl.updPlanStatus(token, Arrays.asList(planId), "disable");
|
|
|
- log.info(">预警<,账户:{}=>计划:{}现已【关停】---> {}", accountId, planId,text);
|
|
|
+ log.info(">预警<,账户:{}=>计划:{}现已【关停】---> {}", accountId, planId, text);
|
|
|
try {
|
|
|
UserAllocation account = userAllocationService.getByAccountId(accountId);
|
|
|
String userId = "";
|