|
@@ -329,6 +329,11 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
targetJson.put("exclude_population", requestJson.getJSONArray("excludePopulation"));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ if (!Check.isNull(requestJson.getJSONArray("thirdPlatformCode"))) {
|
|
|
+ targetJson.put("third_platform_code", requestJson.getJSONArray("thirdPlatformCode"));
|
|
|
+ }
|
|
|
+
|
|
|
if (sceneId != 5) {
|
|
|
JSONObject intelliExtendJson = new JSONObject();
|
|
|
|
|
@@ -463,8 +468,6 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
JSONObject returnJson = new JSONObject();
|
|
|
|
|
|
try {
|
|
|
-
|
|
|
-
|
|
|
JSONObject unitJson = new JSONObject();
|
|
|
Long campaignId = requestJson.getLong("campaignId");
|
|
|
if (Check.isNull(campaignId)) {
|
|
@@ -477,8 +480,6 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
} else {
|
|
|
unitJson.put("campaign_id", campaignId);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
// 资源位置
|
|
|
JSONArray scene_id = requestJson.getJSONArray("sceneId");
|
|
|
if (!Check.isNull(scene_id)) {
|
|
@@ -637,8 +638,10 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
targetJson.put("exclude_population", requestJson.getJSONArray("excludePopulation"));
|
|
|
}
|
|
|
|
|
|
+ if (!Check.isNull(requestJson.getJSONArray("thirdPlatformCode"))) {
|
|
|
+ targetJson.put("third_platform_code", requestJson.getJSONArray("thirdPlatformCode"));
|
|
|
+ }
|
|
|
JSONObject intelliExtendJson = new JSONObject();
|
|
|
-
|
|
|
if (sceneId != 5) {
|
|
|
// 开启智能扩量
|
|
|
if (!Check.isNull(requestJson.getInteger("isOpen"))) {
|
|
@@ -935,11 +938,11 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
targetJson.put("exclude_population", JSONArray.parseArray(groupTarget.getExcludePopulation()));
|
|
|
}
|
|
|
|
|
|
+ if (!Check.isNull(groupTarget.getThirdPlatformCode())) {
|
|
|
+ targetJson.put("third_platform_code", groupTarget.getThirdPlatformCode());
|
|
|
+ }
|
|
|
if (sceneId != 5) {
|
|
|
-
|
|
|
-
|
|
|
JSONObject intelliExtendJson = new JSONObject();
|
|
|
-
|
|
|
// 开启智能扩量
|
|
|
if (!Check.isNull(groupTarget.getIsOpen())) {
|
|
|
intelliExtendJson.put("is_open", groupTarget.getIsOpen());
|
|
@@ -1771,6 +1774,11 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
if (!Check.isNull(requestJson.getJSONArray("excludePopulation"))) {
|
|
|
targetJson.put("exclude_population", requestJson.getJSONArray("excludePopulation"));
|
|
|
}
|
|
|
+
|
|
|
+ if (!Check.isNull(requestJson.getJSONArray("thirdPlatformCode"))) {
|
|
|
+ targetJson.put("third_platform_code", requestJson.getJSONArray("thirdPlatformCode"));
|
|
|
+ }
|
|
|
+
|
|
|
if (scene != 5) {
|
|
|
if (!Check.isNull(requestJson.getInteger("filterConvertedLevel"))) {
|
|
|
targetJson.put("filter_converted_level", requestJson.getInteger("filterConvertedLevel"));
|