| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.common.constant.ServiceConstant; |
| | | import com.java110.common.constant.StatusConstant; |
| | | import com.java110.utils.constant.ServiceConstant; |
| | | import com.java110.utils.constant.StateConstant; |
| | | import com.java110.utils.util.CommonUtil; |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.web.core.BaseComponentSMO; |
| | | import com.java110.web.smo.ICommunityServiceSMO; |
| | |
| | | JSONObject tmpUserInfo = JSONObject.parseObject(responseEntity.getBody().toString()); |
| | | JSONObject resultUserInfo = new JSONObject(); |
| | | resultUserInfo.put("name", tmpUserInfo.getString("name")); |
| | | resultUserInfo.put("address", tmpUserInfo.getString("address")); |
| | | resultUserInfo.put("sex", tmpUserInfo.getString("sex")); |
| | | resultUserInfo.put("localtionCd", tmpUserInfo.getString("localtionCd")); |
| | | resultUserInfo.put("levelCd", tmpUserInfo.getString("levelCd")); |
| | | resultUserInfo.put("tel", CommonUtil.mobileEncrypt(tmpUserInfo.getString("tel"))); |
| | | resultUserInfo.put("email", tmpUserInfo.getString("email")); |
| | | responseEntity = new ResponseEntity<String>(resultUserInfo.toJSONString(), HttpStatus.OK); |
| | | } |
| | | return responseEntity; |
| | |
| | | for (int communityIndex = 0; communityIndex < communitys.size(); communityIndex++) { |
| | | tempCommunity = communitys.getJSONObject(communityIndex); |
| | | |
| | | if (!StatusConstant.STATUS_CD_AUDIT_COMPLETE.equals(tempCommunity.getString("auditStatusCd"))) { |
| | | if (!StateConstant.AGREE_AUDIT.equals(tempCommunity.getString("auditStatusCd"))) { |
| | | continue; |
| | | } |
| | | newCommunity = new JSONObject(); |