标签:function public produces method return
function log(msg) { var i = new Image(); i.src = "http://127.0.0.1/log?msg=" + msg; }
@RequestMapping(value = { "/log" }, produces = { "application/json" }, method = { RequestMethod.GET }, params = { "msg" }) public Model log(Model model, String msg) { System.out.println(msg); model.addAttribute(msg); return model; }
本文出自 “天空海阔” 博客,请务必保留此出处http://ether007.blog.51cto.com/8912105/1440610
标签:function public produces method return
原文地址:http://ether007.blog.51cto.com/8912105/1440610