zhaoxian 4 anos atrás
pai
commit
6ae8ecd58c

+ 0 - 2
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/ai/service/impl/AiKuaishouCreateCreativeServiceImpl.java

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