shaun-sheng

导航

 

2018年7月27日

摘要: controller 接受前端参数的方法(前端要有传值给controller的方法,后台要有接收值得方法) 1.@RequestParam 接收表单参数 2.@RequestBody 接收json字符串 ==一个方法中只能有一个@RequestBody注解。 ==默认情况下@RequestBody标 阅读全文
posted @ 2018-07-27 11:35 shaun-sheng 阅读(270) 评论(0) 推荐(0)