|
@@ -261,18 +261,18 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
if (null == data || data.isEmpty()) {
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
- UserAllocation userAllocation = userAllocationService.getByAccountId(token.getAccountId());
|
|
|
+ Long accountId = token.getAccountId();
|
|
|
+ UserAllocation userAllocation = userAllocationService.getByAccountId(accountId);
|
|
|
Long projectId = null;
|
|
|
if (!Check.isNull(userAllocation)) {
|
|
|
projectId = userAllocation.getProjectId();
|
|
|
}
|
|
|
for (int i = 0; i < data.size(); i++) {
|
|
|
JSONObject dataObject = data.getJSONObject(i);
|
|
|
- if (projectId != 10080885L) {
|
|
|
- checkBidType(token.getAccountId(), dataObject);
|
|
|
+ if (projectId != 10080885L&&accountId != 1754076318295055L&&accountId != 1754076317380623L) {
|
|
|
+ checkBidType(accountId, dataObject);
|
|
|
}
|
|
|
- ByteDanceAdvertisePlan advertisePlan = new ByteDanceAdvertisePlan(dataObject, String.valueOf(token.getAccountId()));
|
|
|
+ ByteDanceAdvertisePlan advertisePlan = new ByteDanceAdvertisePlan(dataObject, String.valueOf(accountId));
|
|
|
BigDecimal deepCpabid = dataObject.getBigDecimal("deep_cpabid");
|
|
|
if (null != deepCpabid) {
|
|
|
advertisePlan.setDeepCpaBid(deepCpabid);
|