src/main/resources/mapper/sys/TokenMapper.xml
@@ -49,7 +49,7 @@ </select> <select id="selectOneByToken" resultType="com.lf.server.entity.sys.TokenEntity"> select * from lf.sys_token where token = #{token} and expire > now() limit 1 select a.*,fn_uname(a.create_user) uname from lf.sys_token a where token = #{token} and expire > now() limit 1 </select> <insert id="insertToken" parameterType="com.lf.server.entity.sys.TokenEntity">