zhihuifan

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2019年11月29日

摘要: 有两种解决方案: 1:在api路径中加入:.+ 1 @RequestMapping("/findByIp/{ip:.+}") 2 public Object test(@PathVariable String ip) { 3 System.out.println(ip); 4 return ""; 阅读全文
posted @ 2019-11-29 17:33 Hi,ZHF 阅读(432) 评论(0) 推荐(0)