abstract: 服务端 rest api @RequestMapping(value = "/phone") public ResponsePhone getPhone(@RequestParam String uid, @RequestParam Listorderidlist){} 客户端 @RequestMapping(value =
服务端 rest api
@RequestMapping(value = "/phone")
public ResponsePhone getPhone(@RequestParam String uid, @RequestParam List
客户端
@RequestMapping(value = "/phone")
ResponsePhone getPhone(@RequestParam String uid, @RequestParam List
原因是 不会自动获取 传递的参数名称 如 uid orderidlist
改成
@RequestMapping(value = "/phone")
ResponsePhone getPhone(@RequestParam(value = "uid") String uid, @RequestParam(value = "orderidlist") List