标签:jsonp
<script>php:
header(‘Content-type:application/json‘);
header(‘Cache-Control:no-cache,must-revalidate‘);
$jsonp = $_GET[‘callback‘];
echo $jsonp . ‘(‘ . json_encode([‘status‘ => 2]) . ‘)‘;
标签:jsonp
原文地址:http://blog.51cto.com/qq512430/2107329