2019年8月23日

@RequestParam和@PathVariable的区别和使用

摘要: 请求路径上的区别:很明显一个是 https:url ?键值对,一个是https:url /参数 ,区别很明显 @PathVariable主要用于接收http://host:port/path/{参数值}数据。@RequestParam主要用于接收http://host:port/path?参数名=参 阅读全文

posted @ 2019-08-23 21:30 Cherishforchen 阅读(6869) 评论(1) 推荐(1) 编辑

导航