# springboot项目从前台json格式字符串传递到后台controller接收的几种方式
一、后台接收URL拼接参数后台代码:@GetMapping("/item/{code}") //对应的链接为:/item/10001public List getProduct(@PathVariable(“code”) String productCode) {//your code}二、后台接收查询参数后台代码:@GetMapping("/detail") //对应...
原创
2019-05-15 18:24:11 ·
9839 阅读 ·
0 评论