|
|
@@ -199,8 +199,12 @@ public class ESignServiceImpl implements ESignService {
|
|
|
public String getAccountIdByThirdId(String loginName) {
|
|
|
JSONObject json =null;
|
|
|
JSONObject jsonObject = eSignHttpUtil.doGetGetJson(ESignUrl.getAccountIdByThirdId, json, loginName);
|
|
|
- JSONObject result = (JSONObject)jsonObject.get("data");
|
|
|
- return result.get("accountId").toString();
|
|
|
+ if (jsonObject!=null) {
|
|
|
+ JSONObject result = (JSONObject)jsonObject.get("data");
|
|
|
+ return result.get("accountId").toString();
|
|
|
+ }else{
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|