Helius
2020-05-31 7d6433c9529bc3096d8d5fef96be7894ee3e6bb3
modify
2 files modified
3 ■■■■ changed files
src/main/java/com/xcong/excoin/common/system/dto/RegisterDto.java 2 ●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java 1 ●●●● patch | view | raw | blame | history
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;
        }