jsonp问题求解~~~~
$.ajax({
			   type:"get", 
		           url:"http://127.0.0.1:8080/payment/selectInfo?customerid="+customerid,
		           dataType:"jsonp",
		           jsonp: "callback",
		           jsonpCallback:"selectInfo",
		           data:{
		        	   customerid:customerid
		           },
		           success:function (data) {
		        	   alert("data"+data);
		           },
		           error:function () {
		               alert("查询数据错误!");
		           }
			});
新手第一次用jsonp传递数据 但是customerid参数就是传不到后台,后台服务可以调用的到就是参数获得为null,下面是后台代码:
        @Post("selectInfo")
	@Get("selectInfo")
	public String selectInfo(@Param("customerId")String customerId,Invocation inv){
		paymentService.selectInfoByCustomerid(customer,inv);
		 return "";
	}
求高手解答如何获得前台传过来的参数,用jsonp实现的,并且如何在返回到前台,谢谢。
              
------解决方案--------------------
customer
id
@Param("customer
Id")String customer
Id,