|
@@ -50,7 +50,7 @@ public class Daka {
|
|
|
|
|
|
@SneakyThrows
|
|
@SneakyThrows
|
|
private static void daka(CloseableHttpClient client, String jsessionid) {
|
|
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("Content-Type", "application/json;charset=UTF-8"));
|
|
httpPost.setHeaders(new BasicHeader("User-Agent", "seeyon-m3/4.2.4"));
|
|
httpPost.setHeaders(new BasicHeader("User-Agent", "seeyon-m3/4.2.4"));
|
|
@@ -72,7 +72,7 @@ public class Daka {
|
|
|
|
|
|
@SneakyThrows
|
|
@SneakyThrows
|
|
private static String getLoginCookie(CloseableHttpClient client, String sendTime) {
|
|
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("Content-Type", "application/json;charset=UTF-8"));
|
|
httpPost.setHeaders(new BasicHeader("User-Agent", "seeyon-m3/4.2.4"));
|
|
httpPost.setHeaders(new BasicHeader("User-Agent", "seeyon-m3/4.2.4"));
|