|
@@ -308,7 +308,6 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
//渠道号应用层级,account-账户,plan-计划,group-组
|
|
//渠道号应用层级,account-账户,plan-计划,group-组
|
|
String level = strategy.getUsageLevel();
|
|
String level = strategy.getUsageLevel();
|
|
Integer useChannel = strategy.getUseChannel();//0不使用,1使用
|
|
Integer useChannel = strategy.getUseChannel();//0不使用,1使用
|
|
- useChannel = Check.isNull(useChannel) ? 0 : 1;
|
|
|
|
try {
|
|
try {
|
|
if (!Check.isNull(useChannel) && useChannel == 1 && ("account".equals(level) || "plan".equals(level))) {
|
|
if (!Check.isNull(useChannel) && useChannel == 1 && ("account".equals(level) || "plan".equals(level))) {
|
|
Result<Object> result = channelService.queryChannel(accountId, level, appName, null);
|
|
Result<Object> result = channelService.queryChannel(accountId, level, appName, null);
|
|
@@ -674,7 +673,6 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
//渠道号应用层级,account-账户,plan-计划,group-组
|
|
//渠道号应用层级,account-账户,plan-计划,group-组
|
|
String level = strategy.getUsageLevel();
|
|
String level = strategy.getUsageLevel();
|
|
Integer useChannel = strategy.getUseChannel();//0不使用,1使用
|
|
Integer useChannel = strategy.getUseChannel();//0不使用,1使用
|
|
- useChannel = Check.isNull(useChannel) ? 0 : 1;
|
|
|
|
KuaishouChannel channel = null;
|
|
KuaishouChannel channel = null;
|
|
KuaishouChannel usedchannel = null;
|
|
KuaishouChannel usedchannel = null;
|
|
Long newCampaignId = null;
|
|
Long newCampaignId = null;
|