Commit eb4f51d0a2f8eb4ed6a246cff6304fc508820695
1 parent
9863e2a9
新增直播申请短信通知功能4
Showing
1 changed file
with
0 additions
and
3 deletions
src/main/java/com/cnlive/shenhe/job/LiveApplyJob.java
| ... | ... | @@ -139,14 +139,12 @@ public class LiveApplyJob { |
| 139 | 139 | noticeState = CommonConst.NOTICE_FAIL; |
| 140 | 140 | noticeMsg = noticeMsg + "\n" + dateTime + " 邮件服务器调用失败,result为空"; |
| 141 | 141 | i += 1; |
| 142 | - break; | |
| 143 | 142 | } |
| 144 | 143 | Integer code = result.getInteger("errorCode"); |
| 145 | 144 | if (code != 0) { |
| 146 | 145 | noticeState = CommonConst.NOTICE_FAIL; |
| 147 | 146 | noticeMsg = noticeMsg + "\n" + dateTime + " 邮件服务器调用失败,result返回消息为:" + result.getString("errorMessage"); |
| 148 | 147 | i += 1; |
| 149 | - break; | |
| 150 | 148 | } else { |
| 151 | 149 | noticeState = CommonConst.NOTICE_SUCCESS; |
| 152 | 150 | noticeMsg = noticeMsg + "\n" + dateTime + " 邮件" + emailAddr + "(" + shyEmail.getRemark() + ")发送成功"; |
| ... | ... | @@ -156,7 +154,6 @@ public class LiveApplyJob { |
| 156 | 154 | noticeState = CommonConst.NOTICE_FAIL; |
| 157 | 155 | noticeMsg = noticeMsg + "\n" + dateTime + " 邮件服务器调用失败,服务器报错了"; |
| 158 | 156 | i += 1; |
| 159 | - break; | |
| 160 | 157 | } |
| 161 | 158 | String taskId = "003_01"; |
| 162 | 159 | String signatureId = "0"; | ... | ... |