瀏覽代碼

用户邮箱验证码

huangxingxing 3 月之前
父節點
當前提交
c5ed1a5c66
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/java/com/miniframe/bisiness/system/A00001Service.java

+ 6 - 6
src/main/java/com/miniframe/bisiness/system/A00001Service.java

@@ -96,13 +96,13 @@ public class A00001Service extends A00001BaseModel implements ExecProcessFlow {
                 MailProperties p = UtilTools.getBean(MailProperties.class);
                 System.out.println(p.getHost());
                 System.out.println(p.getUsername());
-                MFServiceUtils.getMailService()
-                        .sendSimpleMail(this.getA_a00001().getMailOrPhone(), "验证码", "您的邮箱验证码:" + code);
-//                Map<String, Object> var3 =new HashMap<>();
-//                var3.put("username","用户");
-//                var3.put("verification_code",code);
 //                MFServiceUtils.getMailService()
-//                        .sendTemplateMail(this.getA_a00001().getMailOrPhone(), this.getA_a00001().getMailOrPhone(), var3,"mail_script");
+//                        .sendSimpleMail(this.getA_a00001().getMailOrPhone(), "验证码", "您的邮箱验证码:" + code);
+                Map<String, Object> var3 =new HashMap<>();
+                var3.put("username","用户");
+                var3.put("verification_code",code);
+                MFServiceUtils.getMailService()
+                        .sendTemplateMail(this.getA_a00001().getMailOrPhone(), this.getA_a00001().getMailOrPhone(), var3,"mail_script");
 
 
             }else if(this.getA_a00001().getChannel().equals(MessageChannel.phone.getIndex())){