function(url, data, jsonpParam, callbacnName) {
		if (jsonpParam) {
			url = url.replace(jsonpParam + '=?', jsonpParam + '=' + callbacnName);
		} else {
			data['callback'] = callbacnName;
		}
		var buffer = [];
		for (var key in data) {
			buffer.push(key + '=' + encodeURIComponent(data[key]));
		}
		return url + (url.indexOf('?') > -1 ? '&' : '?') + buffer.join('&');
	}
function(url, data, jsonpParam, callbacnName) {
		if (jsonpParam) {
			url = url.replace(jsonpParam + '=?', jsonpParam + '=' + callbacnName);
		} else {
			data['callback'] = callbacnName;
		}
		var buffer = [];
		for (var key in data) {
			buffer.push(key + '=' + encodeURIComponent(data[key]));
		}
		return url + (url.indexOf('?') > -1 ? '&' : '?') + buffer.join('&');
	}
function ( url , data , jsonpParam , callbacnName ) { if ( jsonpParam ) { url = url . replace ( jsonpParam + '=?' , jsonpParam + '=' + callbacnName ) ; } else { data [ 'callback' ] = callbacnName ; } var buffer = [ ] ; for ( var key in data ) { buffer . push ( key + '=' + encodeURIComponent ( data [ key ] ) ) ; } return url + ( url . indexOf ( '?' ) > - 1 ? '&' : '?' ) + buffer . join ( '&' ) ; }
转换 URL，JSONP 只支持 get 方式的 queryString ,需将 data 拼入 url
转换 URL，JSONP 只支持 get 方式的 queryString 需将 data 拼入 url
Add callback to url