diff --git a/src/main/java/com/zcloud/controller/system/UsersController.java b/src/main/java/com/zcloud/controller/system/UsersController.java index 1f786c0f..4c0ee501 100644 --- a/src/main/java/com/zcloud/controller/system/UsersController.java +++ b/src/main/java/com/zcloud/controller/system/UsersController.java @@ -1052,7 +1052,7 @@ public class UsersController extends BaseController { PageData pd = new PageData(); String errInfo = "success"; pd = this.getPageData(); - Map returnMap = null; + Map returnMap = new HashMap(); if (pd.getString("ISPUSH").equals("1")) { // ------联通人员定位删除人员用------ @@ -1066,9 +1066,11 @@ public class UsersController extends BaseController { for (Object key : set) { param.put(key.toString(),pd.getString(key.toString())); } - String UserDto = JSON.toJSONString(param); - String result = HttpClientUtilDoGet.sendHttpPost(tongBuUrl + "/docking/core/user/addOrUpdate", UserDto,param); - returnMap = (Map) JSON.parse(result); +// String UserDto = JSON.toJSONString(param); +// String result = HttpClientUtilDoGet.sendHttpPost(tongBuUrl + "/docking/core/user/addOrUpdate", UserDto,param); +// returnMap = (Map) JSON.parse(result); + // TODO com.alibaba.fastjson.JSONException: syntax error, pos 1 暂时不用人员中台 + returnMap.put("result", "success"); } if (pd.getString("ISPUSH").equals("0") || returnMap.get("result").equals("success")) { @@ -2502,8 +2504,11 @@ public class UsersController extends BaseController { } public Map doCheck(String USERNAME, String CARD_NO, String USER_ID) throws Exception { - String result = HttpClientUtilDoGet.sendHttpGet(tongBuUrl + "/docking/core/user/getCheck"+"?USERNAME="+USERNAME+"&CARD_NO="+CARD_NO+"&USER_ID="+USER_ID); - Map returnMap = (Map) JSON.parse(result); +// String result = HttpClientUtilDoGet.sendHttpGet(tongBuUrl + "/docking/core/user/getCheck"+"?USERNAME="+USERNAME+"&CARD_NO="+CARD_NO+"&USER_ID="+USER_ID); +// Map returnMap = (Map) JSON.parse(result); + // 人员中台暂时不用 + Map returnMap = new HashMap<>(); + returnMap.put("result", "success"); return returnMap; }