|
|
@@ -196,13 +196,19 @@ public class FosterwxCashScheduleTaskListServiceImpl extends ServiceImpl<Fosterw
|
|
|
}
|
|
|
|
|
|
// 小程序链接
|
|
|
+ String sendUrl = "";
|
|
|
if (8 == fosterwxCashTaskList.getBoxType()) {
|
|
|
// 投放版视频
|
|
|
// 发文链接
|
|
|
- fosterwxCashScheduleTaskList.setSendUrl("/pages/index/index?type=tuiguang&videoId=" + fosterwxCashTaskList.getVideoId());
|
|
|
+ sendUrl = "/pages/index/index?type=tuiguang&videoId=" + fosterwxCashTaskList.getVideoId();
|
|
|
} else {
|
|
|
// 盘古版视频
|
|
|
- fosterwxCashScheduleTaskList.setSendUrl(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);
|
|
|
+ if (1 == fosterwxCashTaskList.getTaskType()) {
|
|
|
+ fosterwxCashScheduleTaskList.setBoxUrl(sendUrl);
|
|
|
}
|
|
|
|
|
|
fosterwxCashScheduleTaskListMapper.updateById(fosterwxCashScheduleTaskList);
|