新增多平台token

This commit is contained in:
wuchunlei
2024-05-29 16:04:00 +08:00
parent 9e674cffce
commit 6651f6cf39
4 changed files with 38 additions and 23 deletions

View File

@@ -4,6 +4,6 @@
<mapper namespace="com.peanut.modules.sys.dao.SysUserTokenDao">
<select id="queryByToken" resultType="com.peanut.modules.sys.entity.SysUserTokenEntity">
select * from sys_user_token where token = #{value}
select * from sys_user_token where (token = #{value} or token_medical = #{value} or token_sociology = #{value})
</select>
</mapper>