Explorar o código

Merge branch 'dev-xym-3-video' of Server/long-article-manage into master

xueyiming hai 3 meses
pai
achega
40a773b789

+ 22 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

@@ -51,6 +51,26 @@ public class ContentServiceImpl implements ContentService {
         add("20250304073234245880032");
     }};
 
+    private static final List<String> multipleVideoGhIdList = new ArrayList<String>() {{
+        add("gh_f93af770fb55");
+        add("gh_325188c9ea8b");
+        add("gh_26c906592150");
+        add("gh_18c6258ec8f7");
+        add("gh_631fb48b83a5");
+        add("gh_86cb64d57a1d");
+        add("gh_74827e516740");
+        add("gh_fe6ef3a65a48");
+        add("gh_be0aa7c09379");
+        add("gh_4f34eb52e641");
+        add("gh_9bd3ec87db86");
+        add("gh_b1553fe3ef26");
+        add("gh_1a2bb3fef76a");
+        add("gh_c952bc10dfad");
+        add("gh_871c78fca0fa");
+        add("gh_c19a94a3fcc1");
+    }};
+
+
     @Autowired
     private MatchVideoMapper matchVideoMapper;
 
@@ -366,7 +386,8 @@ public class ContentServiceImpl implements ContentService {
             }
 
             //临时逻辑  该计划返回正常数量小程序
-            if (multipleVideoPlanIdList.contains(planAccount.getPlanId())) {
+            if (multipleVideoPlanIdList.contains(planAccount.getPlanId())
+                    || multipleVideoGhIdList.contains(planAccount.getGhId())) {
                 if (crawlerVideoList.size() > 3) {
                     return crawlerVideoList.subList(0, 3);
                 }