sportsRoutineReport
This commit is contained in:
parent
bd25c905c1
commit
e2fbe02055
@ -248,7 +248,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
|
|||||||
string bodyEncrypted;
|
string bodyEncrypted;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
bodyEncrypted = DataEncryptHelper.EncryptSm2(jsonPlain, AppSettings.DataPush.PublicKey);
|
bodyEncrypted = DataEncryptHelper.EncryptSm2Zip(jsonPlain, AppSettings.DataPush.PublicKey);
|
||||||
Console.WriteLine($"[GetStudentEduId] Encrypted BODY (Hex): {bodyEncrypted}");
|
Console.WriteLine($"[GetStudentEduId] Encrypted BODY (Hex): {bodyEncrypted}");
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@ -259,7 +259,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
|
|||||||
|
|
||||||
|
|
||||||
// 4. 构造 POST 请求 URL
|
// 4. 构造 POST 请求 URL
|
||||||
string url = $"{AppSettings.DataPush.Hous}oauth2/getStudentEduId";
|
string url = $"{AppSettings.DataPush.Hous}oauth2/sportsRoutineReport";
|
||||||
|
|
||||||
// 5. 发送 POST 请求
|
// 5. 发送 POST 请求
|
||||||
string responseText;
|
string responseText;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user