This commit is contained in:
dengqn 2024-10-05 17:09:28 +08:00
parent 1eb8a769a6
commit 317805b5e4
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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()