瀏覽代碼

增加参数

xueyiming 7 月之前
父節點
當前提交
126faf4b1e

+ 1 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/model/dto/MiniprogramCardRequest.java

@@ -16,4 +16,5 @@ public class MiniprogramCardRequest {
     private String strategy;
     private String articleId;
     private String flowPoolLevelTag;
+    private Integer publishFlag;
 }

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

@@ -260,6 +260,7 @@ public class CoreServiceImpl implements CoreService {
                             request.setStrategy("strategy_v2");
                             request.setArticleId(matchContent.getSourceId());
                             request.setFlowPoolLevelTag(matchContent.getFlowPoolLevelTag());
+                            request.setPublishFlag(2);
                             matchService.matchMiniprogramVideo(request);
                         }
                     } catch (InterruptedException e) {