错误提醒

v1.4.1
Parker 5 years ago
parent ea88fd330a
commit f76874747f

@ -131,8 +131,8 @@ public class InterfaceCryptoAop {
returnValue = CryptoAsymmetricUtil.encrypt(returnValue);
}
}catch (Exception e){
// RSA非对称加密失败
throw new ServiceException(CoreMsg.OTHER_EXCEPTION_RSA_EN);
// 非对称加密失败
throw new ServiceException(CoreMsg.OTHER_EXCEPTION_CRYPTO_EN);
}
}
}

@ -67,12 +67,6 @@ public enum CoreMsg implements BaseMsg {
OTHER_EXCEPTION_CRYPTO_EN(10702,"加密失败"),
OTHER_EXCEPTION_CRYPTO_DE(10703,"解密失败"),
OTHER_EXCEPTION_CRYPTO_REFLEX(10703,"解密反射失败"),
OTHER_EXCEPTION_RSA_CREATE(10701,"指定RSA算法器创建失败系统已自动创建随机RSA算法\n公钥{}\n私钥{}"),
OTHER_EXCEPTION_RSA_EN(10702,"RSA非对称加密失败"),
OTHER_EXCEPTION_RSA_DE(10703,"RSA非对称解密失败"),
OTHER_EXCEPTION_RSA_REFLEX(10704,"RSA非对称解密反射失败"),
;
private final int code;

Loading…
Cancel
Save