update m2pool 注销用户接口相关查询新增del_flag条件,开启注销用户谷歌验证
This commit is contained in:
@@ -399,14 +399,10 @@ public class SysUserServiceImpl implements SysUserService {
|
||||
}
|
||||
|
||||
//没有绑定谷歌验证器 校验直接通过
|
||||
if(StringUtils.isBlank(info.getSecret())){
|
||||
if(StringUtils.isBlank(info.getSecret()) || info.getStatus() == 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
//没有绑定谷歌验证器 校验直接通过
|
||||
if(info.getStatus() == 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
if(GoogleAuthenticator.checkCode(info.getSecret(), code, System.currentTimeMillis())){
|
||||
return true;
|
||||
|
||||
@@ -130,7 +130,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
from
|
||||
sys_user
|
||||
where
|
||||
user_name = #{email}
|
||||
user_name = #{email} AND del_flag = '0'
|
||||
limit 1
|
||||
</select>
|
||||
<select id="getCSList" resultType="com.m2pool.system.api.entity.SysUser">
|
||||
|
||||
Reference in New Issue
Block a user