From 8b097af195e5b0056eaad06f199cd1d291821912 Mon Sep 17 00:00:00 2001
From: 佟明键 <tongmingjian@sinosoft.com.cn>
Date: 星期四, 24 二月 2022 12:39:28 +0800
Subject: [PATCH] update 优化随机数生成方式 避免容易生成两个相同随机数的问题

---
 ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserPasswordNotMatchException.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserPasswordNotMatchException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserPasswordNotMatchException.java
index a7f3e5f..863ba76 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserPasswordNotMatchException.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserPasswordNotMatchException.java
@@ -2,15 +2,13 @@
 
 /**
  * 鐢ㄦ埛瀵嗙爜涓嶆纭垨涓嶇鍚堣鑼冨紓甯哥被
- * 
+ *
  * @author ruoyi
  */
-public class UserPasswordNotMatchException extends UserException
-{
+public class UserPasswordNotMatchException extends UserException {
     private static final long serialVersionUID = 1L;
 
-    public UserPasswordNotMatchException()
-    {
-        super("user.password.not.match", null);
+    public UserPasswordNotMatchException() {
+        super("user.password.not.match");
     }
 }

--
Gitblit v1.9.3