فهرست منبع

渠道号。。。修改bug

zhaoxian 3 سال پیش
والد
کامیت
78209220c3

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

@@ -318,6 +318,7 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
                         channel = (KuaishouChannel) result.getResult();
                         if (Check.isNull(channel)) {
                             log.info("账户:{},{}", accountId, result.getMessage());
+                            return videoCnt;
                         } else {
                             log.info("获取渠道号:{}", channel.getChannelCode());
                         }
@@ -361,6 +362,7 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
                             channel = (KuaishouChannel) result.getResult();
                             if (Check.isNull(channel)) {
                                 log.info("(组级)账户:{},{}", accountId, result.getMessage());
+                                continue;
                             } else {
                                 log.info("(组级)获取到渠道号:{}", channel.getChannelCode());
                             }
@@ -649,6 +651,7 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
                         channel = (KuaishouChannel) result.getResult();
                         if (Check.isNull(channel)) {
                             log.info("账户:{},{}", accountId, result.getMessage());
+                            return;
                         } else {
                             log.info("获取渠道号:{}", channel.getChannelCode());
                         }
@@ -690,6 +693,7 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
                             channel = (KuaishouChannel) result.getResult();
                             if (Check.isNull(channel)) {
                                 log.info("(组级)账户:{},{}", accountId, result.getMessage());
+                                continue;
                             } else {
                                 log.info("(组级)获取到渠道号:{}", channel.getChannelCode());
                             }