Compare commits

...

2 Commits

Author SHA1 Message Date
754d8ac0ef Update and fix 2026-01-15 10:43:53 +08:00
a437e62263 Fixed API Update ldapAPI 2026-01-15 10:42:47 +08:00

View File

@ -90,7 +90,7 @@ namespace PSTW_CentralSystem.Controllers.API
byte[] rsaData = rsaBase.Encrypt(Encoding.UTF8.GetBytes(jsonData), RSAEncryptionPadding.Pkcs1); byte[] rsaData = rsaBase.Encrypt(Encoding.UTF8.GetBytes(jsonData), RSAEncryptionPadding.Pkcs1);
string rsaDataBase64 = Convert.ToBase64String(rsaData); string rsaDataBase64 = Convert.ToBase64String(rsaData);
string ldapUrl = "http://192.168.12.45/ldap/dev1/"; string ldapUrl = "http://192.168.12.45/api/ldap/";
string ldapUrlResult = ""; string ldapUrlResult = "";
using (HttpClient httpClient = new HttpClient()) using (HttpClient httpClient = new HttpClient())