|
js-----------------------------------------------
$.getJSON("http://ci.52pk.cc/keyword/api/callback=?",function(response){
}
提示
后台是这样入理的:
php---------------------------------------------------
$callback=$this->uri->segment(4);
//$result['callback'] =$callback;
echo $callback.'('.json_encode($result).');';
//$json=json_encode($result);
//exit($json); |
|