修改PBCAgent2G

This commit is contained in:
xydkj 2026-05-26 16:58:51 +08:00
parent 861ecd6108
commit b7da42c5ab

View File

@ -34,6 +34,7 @@ public class PBCAgent2G{
private final OkHttpClient okHttpClient; private final OkHttpClient okHttpClient;
private final ObjectMapper objectMapper; private final ObjectMapper objectMapper;
private boolean isDebug;
private final ThreadLocal<Integer> lastReturnCode = new ThreadLocal<>(); private final ThreadLocal<Integer> lastReturnCode = new ThreadLocal<>();
@ -47,6 +48,9 @@ public class PBCAgent2G{
this.objectMapper = new ObjectMapper(); this.objectMapper = new ObjectMapper();
} }
public void isDebug(boolean isDebug){
this.isDebug = isDebug;
}
public String rawSign(byte[] origBytes, String dn) { public String rawSign(byte[] origBytes, String dn) {