- 博客(1)
- 收藏
- 关注
原创 # springboot项目从前台json格式字符串传递到后台controller接收的几种方式
一、后台接收URL拼接参数 后台代码: @GetMapping("/item/{code}") //对应的链接为:/item/10001 public List getProduct(@PathVariable(“code”) String productCode) { //your code } 二、后台接收查询参数 后台代码: @GetMapping("/detail") //对应...
2019-05-15 18:24:11
9825
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人