Просмотр исходного кода

Merge branch 'master' into dev-lqc

lqc 4 лет назад
Родитель
Сommit
91988cce65

+ 4 - 1
src/main/java/com/mokamrp/privates/service/pangu/impl/FosterwxCashScheduleTaskListServiceImpl.java

@@ -17,6 +17,7 @@ import com.mokamrp.privates.service.pangu.FosterwxCashScheduleTaskListService;
 import com.mokamrp.privates.service.pangu.FosterwxCashTaskListService;
 import com.mokamrp.privates.service.pangu.FosterwxCashWorkwxTaskListService;
 import com.mokamrp.privates.utils.pangu.redis.task.TaskRedis;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
@@ -33,6 +34,7 @@ import java.util.List;
  * @since 2021-10-08
  */
 @Service
+@Slf4j
 public class FosterwxCashScheduleTaskListServiceImpl extends ServiceImpl<FosterwxCashScheduleTaskListMapper, FosterwxCashScheduleTaskList> implements FosterwxCashScheduleTaskListService {
 
     @Autowired
@@ -167,6 +169,7 @@ public class FosterwxCashScheduleTaskListServiceImpl extends ServiceImpl<Fosterw
             i--;
         }
         fosterwxCashOasBoxService.addSendTextCnt(groupId, ghid);
+        log.info("typr生成发文需要的信息{}", JSON.toJSONString(tempList));
         taskRedis.createUrlByTyper(JSON.toJSONString(tempList));
         tempList.clear();
     }
@@ -222,7 +225,7 @@ public class FosterwxCashScheduleTaskListServiceImpl extends ServiceImpl<Fosterw
             sendUrl = "/pages/index/index?type=tuiguang&videoId=" + fosterwxCashTaskList.getVideoId();
         } else {
             // 盘古版视频
-            sendUrl = String.format("pages/index/index?type=tuiguang&materialId=%d&categoryId=&d", fosterwxCashTaskList.getVideoId(), fosterwxCashTaskList.getTagId());
+            sendUrl = String.format("pages/index/index?type=tuiguang&materialId=%d&categoryId=%d", fosterwxCashTaskList.getVideoId(), fosterwxCashTaskList.getTagId());
         }
 
         fosterwxCashScheduleTaskList.setSendUrl(sendUrl);