回滚中台相关代码 删除Json工具类报错
parent
7925ea2a61
commit
b319779e4e
|
@ -1052,7 +1052,7 @@ public class UsersController extends BaseController {
|
|||
PageData pd = new PageData();
|
||||
String errInfo = "success";
|
||||
pd = this.getPageData();
|
||||
Map<String, String> returnMap = null;
|
||||
Map<String, String> returnMap = new HashMap<String, String>();
|
||||
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<String, String>) JSON.parse(result);
|
||||
// String UserDto = JSON.toJSONString(param);
|
||||
// String result = HttpClientUtilDoGet.sendHttpPost(tongBuUrl + "/docking/core/user/addOrUpdate", UserDto,param);
|
||||
// returnMap = (Map<String, String>) 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<String, String> 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<String, String> returnMap = (Map<String, String>) JSON.parse(result);
|
||||
// String result = HttpClientUtilDoGet.sendHttpGet(tongBuUrl + "/docking/core/user/getCheck"+"?USERNAME="+USERNAME+"&CARD_NO="+CARD_NO+"&USER_ID="+USER_ID);
|
||||
// Map<String, String> returnMap = (Map<String, String>) JSON.parse(result);
|
||||
// 人员中台暂时不用
|
||||
Map<String, String> returnMap = new HashMap<>();
|
||||
returnMap.put("result", "success");
|
||||
return returnMap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue