数据接口如下:
请求代码:
$(function($){
$.ajax(url, {
dataType: 'jsonp',
crossDomain: true,
success: function(data) {
console.log(data)
}
});
});
这个接口的数据能请求成功吗?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
应该是这种结构。 你的代码url那里写法有错误