摘要: 1、以实体类方式接收 @Controller @RequestMapping("/user") public class UserAction { @RequestMapping(value = "/add") @ResponseBody public String add(@RequestBody 阅读全文
posted @ 2020-09-23 15:08 与f 阅读(1098) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Map<String, String> map = new HashMap<String, String>(); map.put("1", "value1"); map.put("2", "value2"); map. 阅读全文
posted @ 2020-09-23 15:03 与f 阅读(463) 评论(0) 推荐(0) 编辑