From 7d6433c9529bc3096d8d5fef96be7894ee3e6bb3 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sun, 31 May 2020 15:14:57 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java | 1 +
src/main/java/com/xcong/excoin/common/system/dto/RegisterDto.java | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/common/system/dto/RegisterDto.java b/src/main/java/com/xcong/excoin/common/system/dto/RegisterDto.java
index f8bfbc4..188904d 100644
--- a/src/main/java/com/xcong/excoin/common/system/dto/RegisterDto.java
+++ b/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;
diff --git a/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java b/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java
index 9a79ace..842de88 100644
--- a/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java
+++ b/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;
}
--
Gitblit v1.9.1