update m2pool 注销用户接口相关查询新增del_flag条件,开启注销用户谷歌验证

This commit is contained in:
yyb
2026-01-09 09:49:15 +08:00
parent 0e0b1a6cfd
commit f0f9394807
4 changed files with 7 additions and 12 deletions

View File

@@ -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>