xin
2025-06-06 ba3ec5d7b984bab62c1d4d6085b5cfd0e3a642df
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(properties.getUrlSendMsg(), phone, message, properties);
        SendMessageUtils.sendMsg(properties.getUrlSendMsg(), phone, SendMessageUtils.SIGN,
                SendMessageUtils.MESSAGE.replace("{code}", verification), properties);
        return ResponseEntity.ok(R.success(uuid));
    }
}