From 95d4b99e2a8197d9d903da36b0dfbb063efc396f Mon Sep 17 00:00:00 2001 From: wangchl Date: Fri, 23 Nov 2018 17:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E5=87=BA=E5=86=97=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/framework/shiro/service/SysPasswordService.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/service/SysPasswordService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/service/SysPasswordService.java index 7a5c6ee3..f3bd37f8 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/service/SysPasswordService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/service/SysPasswordService.java @@ -82,9 +82,4 @@ public class SysPasswordService return new Md5Hash(username + password + salt).toHex().toString(); } - public static void main(String[] args) - { - System.out.println(new SysPasswordService().encryptPassword("admin", "admin123", "111111")); - System.out.println(new SysPasswordService().encryptPassword("ry", "admin123", "222222")); - } }