Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
6400f2fe
Commit
6400f2fe
authored
Jul 08, 2022
by
macro
Browse files
Update UmsMemberServiceImpl.java
parent
fb136519
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/service/impl/UmsMemberServiceImpl.java
View file @
6400f2fe
package
com.macro.mall.portal.service.impl
;
package
com.macro.mall.portal.service.impl
;
import
cn.hutool.core.util.StrUtil
;
import
com.macro.mall.common.exception.Asserts
;
import
com.macro.mall.common.exception.Asserts
;
import
com.macro.mall.mapper.UmsMemberLevelMapper
;
import
com.macro.mall.mapper.UmsMemberLevelMapper
;
import
com.macro.mall.mapper.UmsMemberMapper
;
import
com.macro.mall.mapper.UmsMemberMapper
;
...
@@ -26,7 +27,6 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
...
@@ -26,7 +27,6 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
import
org.springframework.security.crypto.password.PasswordEncoder
;
import
org.springframework.security.crypto.password.PasswordEncoder
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.StringUtils
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -186,7 +186,7 @@ public class UmsMemberServiceImpl implements UmsMemberService {
...
@@ -186,7 +186,7 @@ public class UmsMemberServiceImpl implements UmsMemberService {
//对输入的验证码进行校验
//对输入的验证码进行校验
private
boolean
verifyAuthCode
(
String
authCode
,
String
telephone
){
private
boolean
verifyAuthCode
(
String
authCode
,
String
telephone
){
if
(
Str
ing
Util
s
.
isEmpty
(
authCode
)){
if
(
StrUtil
.
isEmpty
(
authCode
)){
return
false
;
return
false
;
}
}
String
realAuthCode
=
memberCacheService
.
getAuthCode
(
telephone
);
String
realAuthCode
=
memberCacheService
.
getAuthCode
(
telephone
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment