| | |
| | | import com.java110.intf.user.IUserInnerServiceSMO; |
| | | import com.java110.po.owner.OwnerAppUserPo; |
| | | import com.java110.utils.cache.MappingCache; |
| | | import com.java110.utils.constant.MappingConstant; |
| | | import com.java110.utils.exception.CmdException; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | |
| | | smsDto.setCode(reqJson.getString("msgCode")); |
| | | smsDto = smsInnerServiceSMOImpl.validateCode(smsDto); |
| | | |
| | | if (!smsDto.isSuccess() && "ON".equals(MappingCache.getValue(SendSmsFactory.SMS_SEND_SWITCH))) { |
| | | if (!smsDto.isSuccess() && "ON".equals(MappingCache.getValue(MappingConstant.SMS_DOMAIN,SendSmsFactory.SMS_SEND_SWITCH))) { |
| | | throw new IllegalArgumentException(smsDto.getMsg()); |
| | | } |
| | | } |
| | |
| | | //添加小区楼 |
| | | JSONObject businessOwnerAppUser = new JSONObject(); |
| | | businessOwnerAppUser.putAll(reqJson); |
| | | //状态类型,10000 审核中,12000 审核成功,13000 审核失败 |
| | | businessOwnerAppUser.put("state", "12000"); |
| | | //状态类型,10000 审核中, 11000 待认证 ,12000 审核成功,13000 审核失败 |
| | | businessOwnerAppUser.put("state", OwnerAppUserDto.STATE_AUDIT_SUCCESS); |
| | | businessOwnerAppUser.put("appTypeCd", "10010"); |
| | | businessOwnerAppUser.put("appUserId", GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_appUserId)); |
| | | businessOwnerAppUser.put("memberId", ownerDto.getMemberId()); |