From e51a75ac70bcc93ae6390b6f376dcf3d4afe8580 Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Sun, 06 Jul 2025 21:58:37 +0800 Subject: [PATCH] 小程序:提交订单(待完善) --- oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java b/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java index 612c2b6..01d120f 100644 --- a/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java +++ b/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java @@ -43,8 +43,8 @@ //创建验证码 String verification = (int) ((Math.random() * 9 + 1) * 100000) + ""; redisUtils.set(uuid, verification, time); - String message = "您的验证码为:" + verification + ",请勿泄露于他人!"; - SendMessageUtils.sendMsg(phone, message, properties); + SendMessageUtils.sendMsg(properties.getUrlSendMsg(), phone, SendMessageUtils.SIGN, + SendMessageUtils.MESSAGE.replace("{code}", verification), properties); return ResponseEntity.ok(R.success(uuid)); } } -- Gitblit v1.9.3