AJAX:
$.ajax({ type:"post",url:'http://192.168.1.129:1029/a/api/v1/queryFake/list',data:GetqueryString("code") })
controller:
@Controller @RequestMapping(value = "${adminPath}/api/v1") public class ApiQueryFakeController extends BaseController { @SuppressWarnings("static-access") @RequestMapping(value = "/queryFake/list",method = RequestMethod.POST) @ResponseBody public String list( @RequestBody String code) throws UnknownHostException {原文链接:https://www.f2er.com/ajax/160992.html