10007加密

This commit is contained in:
huqibin 2025-03-07 16:25:19 +08:00
parent 6ef7906493
commit e342d88d32
1 changed files with 4 additions and 1 deletions

View File

@ -439,7 +439,10 @@ public class NetManager : BaseManager<NetManager>
}
if (operationType == "3")
{
string examUrl = url + webURLDic["试卷"] + examId;
var _cipher = Sm4Base.EncryptECB(Encoding.UTF8.GetBytes(examId), Encrypt._key);
string _id = Hex.ToHexString((Sm4Base.EncryptECB(Encoding.UTF8.GetBytes(examId), Encrypt._key)));
string examUrl = url + webURLDic["试卷"] + _id;
currentExamData = await Get<ExamData>(examUrl);
taskListData = JsonConvert.DeserializeObject<TaskListData>(currentExamData.data.backJson);
action?.Invoke(true);