| | |
| | | if(com == null){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"对不起,该账户异常!"); |
| | | } |
| | | if(com.getStatus() == 0 ){ |
| | | if(Constants.equalsInteger( com.getStatus(),Constants.ZERO) ){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"对不起,该企业已过禁用!"); |
| | | } |
| | | if(com.getOepnValidDate().before(new Date())){ |
| | | if(com.getOepnValidDate() != null && com.getOepnValidDate().before(new Date())){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"对不起,该企业已过使用有效期!"); |
| | | } |
| | | //如果是企业用户 |
| | |
| | | @ApiModelProperty(value = "羚羊平台应用参数,json格式存储{app_key:,aes_key:,app_secret:}" ) |
| | | private String lingyangInfo; |
| | | |
| | | @ApiModelProperty(value = "名称") |
| | | @ExcelColumn(name="名称") |
| | | private Byte status; |
| | | @ApiModelProperty(value = "状态 1 开启 0 禁用") |
| | | private Integer status; |
| | | |
| | | } |