mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 增加 加密头用来判断数据是否已经被加密了 防止重复加密
This commit is contained in:
		@@ -112,8 +112,8 @@ public class EncryptorManager {
 | 
			
		||||
            return value;
 | 
			
		||||
        }
 | 
			
		||||
        IEncryptor encryptor = this.registAndGetEncryptor(encryptContext);
 | 
			
		||||
        String decrypt = encryptor.decrypt(value);
 | 
			
		||||
        return StringUtils.removeStart(decrypt, Constants.ENCRYPT_HEADER);
 | 
			
		||||
        String str = StringUtils.removeStart(value, Constants.ENCRYPT_HEADER);
 | 
			
		||||
        return encryptor.decrypt(str);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user