|
@@ -52,7 +52,7 @@ public class MovieLevelServiceImpl implements IMovieLevelService {
|
|
|
log.info("项目ID:{},评级为c上线时间小于8天,不执行消息发送", videoProjectId);
|
|
log.info("项目ID:{},评级为c上线时间小于8天,不执行消息发送", videoProjectId);
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
- if (diffDay == 8 || diffDay == 91) { //当上线为第八天和第三十一天时 发送C评级通知
|
|
|
|
|
|
|
+ if (diffDay == 8 || diffDay == 91) { //当上线为第八天和第九十一天时 发送C评级通知
|
|
|
// 验证是否已发送此评级的消息通知
|
|
// 验证是否已发送此评级的消息通知
|
|
|
boolean isSend = checkLog(videoProjectId, level);
|
|
boolean isSend = checkLog(videoProjectId, level);
|
|
|
if (isSend) {
|
|
if (isSend) {
|
|
@@ -85,7 +85,7 @@ public class MovieLevelServiceImpl implements IMovieLevelService {
|
|
|
|
|
|
|
|
|
|
|
|
|
public void sendMessage(String videoProjectId, String videoProjectName, String level, Integer diffDay) {
|
|
public void sendMessage(String videoProjectId, String videoProjectName, String level, Integer diffDay) {
|
|
|
- String url = "https://open.feishu.cn/open-apis/bot/v2/hook/01f88b7f-205e-4530-bc32-15668a2ec8bb";
|
|
|
|
|
|
|
+ String url = "https://open.feishu.cn/open-apis/bot/v2/hook/d83f0bf7-add8-462b-b5a2-281a5dfa129c";
|
|
|
JSONObject param = new JSONObject();
|
|
JSONObject param = new JSONObject();
|
|
|
param.put("msg_type", "interactive");
|
|
param.put("msg_type", "interactive");
|
|
|
JSONObject card = new JSONObject();
|
|
JSONObject card = new JSONObject();
|