【mybatis】spring boot中使用@EnableTransactionManagement 以后,spring mvc接收前台ajax的post方法传过来的参数,使用@RequestBody接收不到参数

在启动类上添加了注解:

@EnableTransactionManagement,

 postMan测试接口,以这种方式传递参数:

测试结果:

 接收不到参数

 

问题解决:

猜你喜欢

转载自www.cnblogs.com/sxdcgaq8080/p/9283232.html