update m2pool 注销用户接口相关查询新增del_flag条件,开启注销用户谷歌验证
This commit is contained in:
@@ -9,7 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
google_auth = #{info.secret},
|
||||
google_status = #{info.status},
|
||||
update_time = sysdate()
|
||||
where user_name = #{info.email}
|
||||
where user_name = #{info.email} and del_flag = 0
|
||||
</update>
|
||||
|
||||
<select id="checkIfBindByEmail" resultType="java.lang.Boolean">
|
||||
@@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
from
|
||||
sys_user
|
||||
where
|
||||
email = #{email}
|
||||
email = #{email} AND del_flag = 0
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user