新版仿ok交易所-后端
zyy
2025-09-29 e05adfa42f61c6cef58a921a71b5374ae6ebfb0d
trading-order-service/src/main/java/com/yami/trading/service/impl/IdentifyingCodeServiceImpl.java
@@ -93,7 +93,7 @@
        }
//      log.info(MessageFormat.format("target:{0},code:{1},ip:{2}", target, code, ip));
        String content = MessageFormat.format("code is :{0}", new Object[] { code });
        String content = MessageFormat.format("[StakeCubePro]Verification Code: {0}", new Object[] { code });
        if (target.indexOf("@") == -1) {
            send_code_text = this.sysparaService.find("send_code_text").getSvalue();
@@ -178,7 +178,11 @@
            /**
             * 邮件
             */
            emailSendService.sendEmail(target, MessageFormat.format(send_code_text, new Object[] { code }), content);
            //emailSendService.sendEmail(target, content, MessageFormat.format(send_code_text, new Object[] { code }));
            // 调用示例
            Map<String, Object> model = new HashMap<>();
            model.put("code", code);
            emailSendService.sendEmail(target, content, "verification_email.ftl", model);
            logger.info(MessageFormat.format("email--target:{0},code:{1},ip:{2}", target, code, ip));
        }