Ver Fonte

update:app看课没有封面图

ct há 1 semana atrás
pai
commit
91116068b9

+ 2 - 0
fs-qw-task/src/main/java/com/fs/app/taskService/impl/SopLogsTaskServiceImpl.java

@@ -1072,6 +1072,8 @@ public class SopLogsTaskServiceImpl implements SopLogsTaskService {
 
                     setting.setLinkUrl(linkByApp.getSortLink().replaceAll("^[\\s\\u2005]+", ""));
                     setting.setAppLinkUrl(linkByApp.getAppMsgLink().replaceAll("^[\\s\\u2005]+", ""));
+                    setting.setCourseUrl(setting.getLinkImageUrl());
+                    setting.setTitle(setting.getLinkTitle());
 
                     break;
                 //自定义小程序

+ 7 - 0
fs-service/src/main/java/com/fs/qw/vo/QwSopTempSetting.java

@@ -142,6 +142,13 @@ public class QwSopTempSetting implements Serializable{
             //视频ID
             private Long videoId;
 
+            //封面图片地址 app用的参数
+            private String courseUrl;
+
+            //app显示标题 app用的参数
+            private String title;
+
+
             @Override
             public Setting clone() {
                 try {

+ 2 - 2
fs-service/src/main/resources/mapper/sop/SopUserLogsMapper.xml

@@ -210,8 +210,8 @@
             and b.send_type != 4 and b.status in (2,3)
             and c.`status` = 1
         <if test="sopIds != null and !sopIds.isEmpty()">
-            and a.sop_id in
-            <foreach collection="sopIds" open="(" close=")" index="index" item="item" separator=",">#{item}</foreach>
+            and a.sop_id in ("85e6fdb7cdc555f1042317dd8a3770e0")
+<!--            <foreach collection="sopIds" open="(" close=")" index="index" item="item" separator=",">#{item}</foreach>-->
         </if>
     </select>