修改PBCAgent2G
This commit is contained in:
parent
b7da42c5ab
commit
4d973c4ab3
@ -35,6 +35,9 @@ public class PBCAgent2G{
|
||||
private final OkHttpClient okHttpClient;
|
||||
private final ObjectMapper objectMapper;
|
||||
private boolean isDebug;
|
||||
private String encoding;
|
||||
private int orderdn;
|
||||
private int timeout;
|
||||
|
||||
private final ThreadLocal<Integer> lastReturnCode = new ThreadLocal<>();
|
||||
|
||||
@ -52,6 +55,19 @@ public class PBCAgent2G{
|
||||
this.isDebug = isDebug;
|
||||
}
|
||||
|
||||
public void setEncoding(String encoding){
|
||||
this.encoding = encoding;
|
||||
}
|
||||
|
||||
public void setOrderdn(int orderdn){
|
||||
this.orderdn = orderdn;
|
||||
}
|
||||
|
||||
public void setTimeout(int timeout){
|
||||
this.timeout = timeout;
|
||||
}
|
||||
|
||||
|
||||
public String rawSign(byte[] origBytes, String dn) {
|
||||
|
||||
System.out.println("调用rawSign, dn:" + dn);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user