Commit 9863e2a912884e104123d32b3e258042f7eec6e6
1 parent
cc0ccdc2
新增直播申请短信通知功能3
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/job/LiveApplyJob.java
| ... | ... | @@ -100,6 +100,7 @@ public class LiveApplyJob { |
| 100 | 100 | String url = email_send_URL; |
| 101 | 101 | List<ShyEmail> shyEmailList = emailService.getEmailSendList(CommonConst.EMAIL_LIVEAPPLY); |
| 102 | 102 | logger.info("直播申请邮件通知开始,共" + shyLiveApplyList.size() + "个申请,每个申请通知" + shyEmailList.size() + "个邮箱"); |
| 103 | + int i = 0; | |
| 103 | 104 | for (ShyLiveapply liveApply : shyLiveApplyList) { |
| 104 | 105 | logger.info("当前发送邮件的直播申请id为:" + liveApply.getId()); |
| 105 | 106 | //初始化通知状态 |
| ... | ... | @@ -111,7 +112,6 @@ public class LiveApplyJob { |
| 111 | 112 | if (CommonUtils.isNotNull(shySites)) { |
| 112 | 113 | liveApply.setSpid_desc(shySites.getName()); |
| 113 | 114 | } |
| 114 | - int i = 0; | |
| 115 | 115 | //循环需要发送邮件的邮箱 |
| 116 | 116 | for (ShyEmail shyEmail : shyEmailList) { |
| 117 | 117 | String startTime = CommonUtils.formatDate(liveApply.getPre_start_time(), "yyyy-MM-dd HH:mm:ss"); | ... | ... |