测试登录接口500,用户名和接口都是admin
来源:6-9 用户模块所有功能自测试
慕斯5460241
2020-01-12
[10:26:23.133][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8080-exec-9] Creating a new SqlSession
[10:26:23.180][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8080-exec-9] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@190a4333] was not registered for synchronization because synchronization is not active
[10:26:24.021][DEBUG][o.m.s.t.SpringManagedTransaction][http-nio-8080-exec-9] JDBC Connection [jdbc:mysql://localhost:3306/mmall_learning?characterEncoding=utf-8, UserName=root@localhost, MySQL Connector Java] will not be managed by Spring
[10:26:24.034][DEBUG][com.mmall.dao.UserMapper.checkUsername][http-nio-8080-exec-9] ==> Preparing: SELECT COUNT (1) FROM mmall_user WHERE username=?
[10:26:24.081][DEBUG][com.mmall.dao.UserMapper.checkUsername][http-nio-8080-exec-9] ==> Parameters: admin(String)
[10:26:24.094][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8080-exec-9] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@190a4333]
1回答
-
geelylucky
2020-01-12
同学,登录的用户使用自己注册的,不要直接使用老师的用户数据。报错的话,把报错日志贴上来,你贴的这个日志的Debug级别的,不是error。
00
相似问题