修改登录逻辑,配合前后端联调

This commit is contained in:
spllzh
2025-08-11 19:31:54 +08:00
parent 2ab6f0c7d8
commit 895d6662d8
25 changed files with 208 additions and 22 deletions

View File

@@ -34,9 +34,9 @@ logging:
# MyBatis SQL日志
com.rj.mapper: DEBUG
# 数据库连接池日志
com.zaxxer.hikari: DEBUG
# com.zaxxer.hikari: DEBUG
# Spring JDBC日志
org.springframework.jdbc: DEBUG
# org.springframework.jdbc: DEBUG
# 显示SQL参数
com.baomidou.mybatisplus.core.executor: DEBUG
# 显示SQL执行时间

View File

@@ -19,3 +19,6 @@
</sql>
</mapper>

View File

@@ -14,3 +14,4 @@
</sql>
</mapper>

View File

@@ -18,3 +18,4 @@
</sql>
</mapper>

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.rj.mapper.sys.UserRoleMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.rj.entity.sys.UserRole">
<id column="user_id" property="userId" />
<id column="role_id" property="roleId" />
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
user_id, role_id
</sql>
</mapper>