瀏覽代碼

匹配小程序接口增加channelContentId字段

xueyiming 6 月之前
父節點
當前提交
08c1db6755

+ 2 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/model/bo/MatchContent.java

@@ -22,4 +22,6 @@ public class MatchContent {
     private String flowPoolLevelTag;
 
     private Integer sourceType;
+
+    private String channelContentId;
 }

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

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

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

@@ -21,5 +21,6 @@ public class ContentItemVO {
     private String flowPoolLevelTag;
 
     private Integer sourceType;
+    private String channelContentId;
 
 }

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

@@ -284,6 +284,7 @@ public class CoreServiceImpl implements CoreService {
                     matchContent.setTitle(contentItemVO.getTitle());
                     matchContent.setFlowPoolLevelTag(contentItemVO.getFlowPoolLevelTag());
                     matchContent.setSourceType(contentItemVO.getSourceType());
+                    matchContent.setChannelContentId(contentItemVO.getChannelContentId());
                     try {
                         matchQueue.put(matchContent);
                     } catch (InterruptedException e) {