Commit a96ba570 by 杨林龙

添加自动重试发送邮件功能

1 parent 79898e55
......@@ -50,7 +50,7 @@ public class RetryService {
* @return
*/
@Recover
public void recover() {
log.info("has try 3 times ,sendMail fail===");
public void recover(Exception e) {
log.info("has try 3 times ,sendMail fail===" + e.getMessage(), e);
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!