3.0.2 .Net8
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Sarand.Net.Standard.Base.App;
|
||||
using Sarand.Net.Standard.Base.Data;
|
||||
using Sarand.Net.Standard.Base.Utils;
|
||||
using System;
|
||||
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Base.Data
|
||||
@@ -25,7 +26,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Data
|
||||
{
|
||||
return SacsAesIvCrypter.Encrypt(value, requestDataKey);
|
||||
}
|
||||
catch (Exception exc) { SaLogger.Debug("EncryptRequestData " + exc.GetType().Name + ": " + exc.Message); }
|
||||
catch (Exception exc) { SaLogger.Debug($"EncryptRequestData {ExceptionUtil.GetErrorStateMessage(exc)}"); }
|
||||
return value;
|
||||
}
|
||||
/// <summary>Decrypt request data</summary>
|
||||
@@ -35,7 +36,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Data
|
||||
{
|
||||
return SacsAesIvCrypter.Decrypt(value, requestDataKey);
|
||||
}
|
||||
catch (Exception exc) { SaLogger.Debug("DecryptRequestData " + exc.GetType().Name + ": " + exc.Message); }
|
||||
catch (Exception exc) { SaLogger.Debug($"DecryptRequestData {ExceptionUtil.GetErrorStateMessage(exc)}"); }
|
||||
return value;
|
||||
}
|
||||
|
||||
@@ -49,7 +50,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Data
|
||||
{
|
||||
return SacsAesIvCrypter.Encrypt(value, responseDataKey);
|
||||
}
|
||||
catch (Exception exc) { SaLogger.Debug("EncryptResponseData " + exc.GetType().Name + ": " + exc.Message); }
|
||||
catch (Exception exc) { SaLogger.Debug($"EncryptRequestData {ExceptionUtil.GetErrorStateMessage(exc)}"); }
|
||||
return value;
|
||||
}
|
||||
/// <summary>Decrypt response data</summary>
|
||||
@@ -59,7 +60,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Data
|
||||
{
|
||||
return SacsAesIvCrypter.Decrypt(value, responseDataKey);
|
||||
}
|
||||
catch (Exception exc) { SaLogger.Debug("DecryptResponseData " + exc.GetType().Name + ": " + exc.Message); }
|
||||
catch (Exception exc) { SaLogger.Debug($"EncryptRequestData {ExceptionUtil.GetErrorStateMessage(exc)}"); }
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user