0
点赞
收藏
分享

微信扫一扫

接收get请求参数

f12b11374cba 2022-01-23 阅读 61

Get请求就是URL请求。

@GetMapping("/get.do")
    public String get(String id){
        System.out.println("id"+id);
        return "OK";
    }

请求参数id=8888

http://localhost:8080/SpringMVC_S_war/user/get.do?id=8888
举报

相关推荐

0 条评论