服务端 rest api

  @RequestMapping(value = "/phone")
  public ResponsePhone getPhone(@RequestParam String uid, @RequestParam List<String> orderidlist){}


客户端
  
  @RequestMapping(value = "/phone")
  ResponsePhone getPhone(@RequestParam String uid, @RequestParam List<String> orderidlist)
  上面这样写 会在启动的时候报错。
  
原因是 不会自动获取 传递的参数名称 如 uid orderidlist

  改成

  @RequestMapping(value = "/phone")
  
  


相关文章:

  • 2019-05-28
  • 2021-04-04
  • 2021-07-25
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-23
  • 2022-01-23
  • 2021-07-06
  • 2022-12-23
  • 2021-05-22
  • 2021-07-03
  • 2021-09-13
相关资源
相似解决方案