Formatting.None
This commit is contained in:
parent
8ac4636984
commit
bd25c905c1
@ -235,7 +235,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
|
||||
string jsonPlain;
|
||||
try
|
||||
{
|
||||
jsonPlain = JsonConvert.SerializeObject(package);
|
||||
jsonPlain = JsonConvert.SerializeObject(package, Formatting.None);
|
||||
Console.WriteLine($"[GetStudentEduId] Package JSON: {jsonPlain}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
@ -248,7 +248,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
|
||||
string bodyEncrypted;
|
||||
try
|
||||
{
|
||||
bodyEncrypted = DataEncryptHelper.EncryptSm2Zip(jsonPlain, AppSettings.DataPush.PublicKey);
|
||||
bodyEncrypted = DataEncryptHelper.EncryptSm2(jsonPlain, AppSettings.DataPush.PublicKey);
|
||||
Console.WriteLine($"[GetStudentEduId] Encrypted BODY (Hex): {bodyEncrypted}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c381307d15b1587759e7acb844e2c82bdc0ddbc3")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8ac46369843b435230a2414ab53e80b5fb784e66")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Api")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@ -1 +1 @@
|
||||
2dba6fada29eced24317ad0534ce36b4fd36949ef0e3e70ca50cc9ffd4a90385
|
||||
7fea93f1de01629b5f51626fb77a40dd1a6503c6b7b421f4480e748aa6734cb8
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user