【fix sonar】AesEncryptUtil文件

This commit is contained in:
梁琦涛
2023-03-03 16:27:57 +08:00
parent 14fd215576
commit f0b83d810d
@@ -89,7 +89,7 @@ public class AesEncryptUtil {
* @return * @return
* @throws Exception * @throws Exception
*/ */
public static String encrypt(String data) throws Exception { public static String encrypt(String data) {
return encrypt(data, KEY, IV); return encrypt(data, KEY, IV);
} }
@@ -99,7 +99,7 @@ public class AesEncryptUtil {
* @return * @return
* @throws Exception * @throws Exception
*/ */
public static String desEncrypt(String data) throws Exception { public static String desEncrypt(String data) {
return desEncrypt(data, KEY, IV); return desEncrypt(data, KEY, IV);
} }
} }