src/main/java/com/xcong/excoin/common/system/dto/RegisterDto.java
@@ -26,7 +26,7 @@ @NotBlank(message = "密码不能为空") private String password; @ApiModelProperty(value = "账号类型", notes = "1-手机 2-邮箱", example = "1") @ApiModelProperty(value = "账号类型 1-手机 2-邮箱", example = "1") @NotNull(message = "账号类型不能为空") private Integer type; src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java
@@ -26,6 +26,7 @@ @Override public boolean verifyCode(String account, String code) { String cacheCode = redisUtils.getString(AppContants.VERIFY_CODE_PREFIX + account); log.info("---->{}", cacheCode); if (StrUtil.isBlank(cacheCode)) { return false; }