@ResponseBody //必须添加此注解 @RequestMapping("/emPower") public String emPowers(@RequestBody Object user) { System.out.println(user); return "{'msg':'OK','success':200'}"; }
@ResponseBody //必须添加此注解 @RequestMapping("/emPower") public String emPowers(@RequestBody Object user) { System.out.println(user); return "{'msg':'OK','success':200'}"; }
转载于:https://www.cnblogs.com/xy888/p/9045288.html