配置文件数据库和redis账号密码加密

This commit is contained in:
mashuai 2024-08-01 09:04:27 +08:00
parent 98f6d42010
commit 750e82af79
1 changed files with 0 additions and 6 deletions

View File

@ -25,12 +25,6 @@ public class SgzbGatewayApplication implements CommandLineRunner {
private StringEncryptor encryptor;
@Override
public void run(String... args) throws Exception {
String mysqlNm = encrypt("root" );
String mysqlPs = encrypt("Bonus@admin123!" );
String redis = encrypt("Dszbns@Redis123!" );
System.err.println( "mysqlNm原始明文密码加密后的结果为" + mysqlNm );
System.err.println( "mysqlPs原始明文密码加密后的结果为" + mysqlPs );
System.err.println( "redis原始明文密码加密后的结果为" + redis );
}