zyx 1 жил өмнө
parent
commit
facf012e91

+ 2 - 2
src/main/java/org/example/Daka.java

@@ -50,7 +50,7 @@ public class Daka {
 
     @SneakyThrows
     private static void daka(CloseableHttpClient client, String jsessionid) {
-        HttpPost httpPost = new HttpPost("http://oa.sxtvs.com/seeyon/rest/m3/login/verification");
+        HttpPost httpPost = new HttpPost("http://oa.sxtvs.com/seeyon/rest/lexmisAtt/attCommon/attApi?cmprnd=" + randomStr());
 
         httpPost.setHeaders(new BasicHeader("Content-Type", "application/json;charset=UTF-8"));
         httpPost.setHeaders(new BasicHeader("User-Agent", "seeyon-m3/4.2.4"));
@@ -72,7 +72,7 @@ public class Daka {
 
     @SneakyThrows
     private static String getLoginCookie(CloseableHttpClient client, String sendTime) {
-        HttpPost httpPost = new HttpPost("http://oa.sxtvs.com/seeyon/rest/lexmisAtt/attCommon/attApi?cmprnd=" + randomStr());
+        HttpPost httpPost = new HttpPost("http://oa.sxtvs.com/seeyon/rest/m3/login/verification");
 
         httpPost.setHeaders(new BasicHeader("Content-Type", "application/json;charset=UTF-8"));
         httpPost.setHeaders(new BasicHeader("User-Agent", "seeyon-m3/4.2.4"));