Przeglądaj źródła

实验 封面添加播放按钮水印 改为反选

wangyunpeng 13 godzin temu
rodzic
commit
6deac823af

+ 2 - 2
api-module/src/main/java/com/tzld/piaoquan/api/job/wecom/thirdpart/WeComSendMsgJob.java

@@ -54,7 +54,7 @@ public class WeComSendMsgJob {
     private Integer duplicateDays;
     @Value("${send.room.msg.video.num:2}")
     private Integer videoNum;
-    @ApolloJsonValue("${send.room.msg.test.roomList:[\"10724205295120197\"]}")
+    @ApolloJsonValue("${send.room.msg.test.roomList:[]}")
     private List<String> testRoomList;
 
     private final static ExecutorService pool = new ThreadPoolExecutor(5, 5, 0L, TimeUnit.SECONDS,
@@ -108,7 +108,7 @@ public class WeComSendMsgJob {
         // 填充视频信息
         String coverUrl = cgiReplyBucketData.getCoverUrl();
         // 实验 封面添加播放按钮水印
-        if (testRoomList.contains(thirdRoomId)) {
+        if (!testRoomList.contains(thirdRoomId)) {
             coverUrl = addPlayWatermark(cgiReplyBucketData.getCoverUrl());
         }
         request.setDesc(cgiReplyBucketData.getTitle());