spring-boot-mybatis使用

1、传参注意:如果使用参数对象没有对应的转化器(从对象转化为string的转化器),使用@RequestParam注解修饰参数会产生错误

2、使用非string对象也不可以使用@GetMapping修饰。使用@PostMapping或者@PutMapping

猜你喜欢

转载自www.cnblogs.com/dgq-blog/p/9477738.html