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 /
COPY target/igps2xingzhe-0.0.1-SNAPSHOT.jar /
EXPOSE 18877

View File

@ -193,6 +193,7 @@ public class Trigger {
// 1获取行者平台的cookie
HttpResponse executed = httpClient.execute(ClassicRequestBuilder.get("https://www.imxingzhe.com/user/login").build());
System.out.println(executed.getCode());
System.out.println("body:" + new String((((CloseableHttpResponse) executed).getEntity().getContent().readAllBytes())));
// 2计算加密后的密码参数
RSA rsa = new RSA(AsymmetricAlgorithm.RSA_ECB_PKCS1.getValue(), null, xingZhe.getPubKey());
String rd = cookieStore.getCookies()