登录时出错
来源:14-5 前后端联调
weixin_慕前端2207818
2020-04-27
老师,前端代码部署好登录时一直说账号或密码错误是什么问题啊,服务器返回的代码是
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3a784270] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@500926829 wrapping com.mysql.cj.jdbc.ConnectionImpl@62aa474f] will not be managed by Spring
> Preparing: select id, username, password, email, phone, question, answer, role, create_time, update_time from mall_user where username = ?
> Parameters: admin1(String)
< Columns: id, username, password, email, phone, question, answer, role, create_time, update_time
< Row: 2, admin1, admin1 , null, null, null, null, 1, 2020-04-27 16:43:50, 2020-04-27 20:47:34
<== Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3a784270]
[http-nio-8081-exec-5] INFO c.i.mall.controller.UserController - /login sessionId=A0BC0683AF52F685E5163AB064B7E639
1回答
-
廖师兄助理
2020-04-28
有问题截图呀,这样的日志没法看的,打上断点,加log日志这样才能看到哪里出现了问题
00