登录x4
This commit is contained in:
parent
1eb8a769a6
commit
317805b5e4
|
@ -1,4 +1,4 @@
|
||||||
FROM openjdk:17-jdk-alpine
|
FROM openjdk:17-jdk-bookworm
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY target/igps2xingzhe-0.0.1-SNAPSHOT.jar /
|
COPY target/igps2xingzhe-0.0.1-SNAPSHOT.jar /
|
||||||
EXPOSE 18877
|
EXPOSE 18877
|
||||||
|
|
|
@ -193,6 +193,7 @@ public class Trigger {
|
||||||
// 1、获取行者平台的cookie
|
// 1、获取行者平台的cookie
|
||||||
HttpResponse executed = httpClient.execute(ClassicRequestBuilder.get("https://www.imxingzhe.com/user/login").build());
|
HttpResponse executed = httpClient.execute(ClassicRequestBuilder.get("https://www.imxingzhe.com/user/login").build());
|
||||||
System.out.println(executed.getCode());
|
System.out.println(executed.getCode());
|
||||||
|
System.out.println("body:" + new String((((CloseableHttpResponse) executed).getEntity().getContent().readAllBytes())));
|
||||||
// 2、计算加密后的密码参数
|
// 2、计算加密后的密码参数
|
||||||
RSA rsa = new RSA(AsymmetricAlgorithm.RSA_ECB_PKCS1.getValue(), null, xingZhe.getPubKey());
|
RSA rsa = new RSA(AsymmetricAlgorithm.RSA_ECB_PKCS1.getValue(), null, xingZhe.getPubKey());
|
||||||
String rd = cookieStore.getCookies()
|
String rd = cookieStore.getCookies()
|
||||||
|
|
Loading…
Reference in New Issue