| | |
| | | JSONObject userResult = JSONObject.parseObject(responseEntity.getBody()); |
| | | int total = userResult.getIntValue("total"); |
| | | |
| | | JSONObject userInfo = paramIn.getJSONObject("userInfo"); |
| | | |
| | | if (total == 0) { |
| | | //保存用户信息 |
| | | JSONObject registerInfo = new JSONObject(); |
| | | |
| | | JSONObject userInfo = paramIn.getJSONObject("userInfo"); |
| | | |
| | | //设置默认密码 |
| | | String userDefaultPassword = MappingCache.getValue(MappingConstant.KEY_STAFF_DEFAULT_PASSWORD); |
| | |
| | | userResult = JSONObject.parseObject(responseEntity.getBody()); |
| | | } |
| | | |
| | | JSONObject userInfo = userResult.getJSONArray("users").getJSONObject(0); |
| | | JSONObject realUserInfo = userResult.getJSONArray("users").getJSONObject(0); |
| | | userInfo.putAll(realUserInfo); |
| | | userInfo.put("password", ""); |
| | | |
| | | try { |