|
@@ -36,10 +36,14 @@ public class ESignHttpUtil {
|
|
|
String str = doPost(url,param.toJSONString());
|
|
|
JSONObject json =JSONObject.parseObject(str);
|
|
|
int code = json.getInteger("code");
|
|
|
- if(code!=0){
|
|
|
- throw new ESignException(code,url,json.getString("message"));
|
|
|
+ if(code==30500156) {
|
|
|
+ return null;
|
|
|
+ }else {
|
|
|
+ if (code != 0) {
|
|
|
+ throw new ESignException(code, url, json.getString("message"));
|
|
|
+ }
|
|
|
+ return json;
|
|
|
}
|
|
|
- return json;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -57,7 +61,7 @@ public class ESignHttpUtil {
|
|
|
int code = json.getInteger("code");
|
|
|
if (code==53000001){
|
|
|
return null;
|
|
|
- }else {
|
|
|
+ }else{
|
|
|
if (code != 0) {
|
|
|
throw new ESignException(code, url, json.getString("message"));
|
|
|
}
|