$.ajax({
url: "/index.php/home/video/index",
dataType: 'json',
type: 'POST',
data: data,
success: function(result) {
if (result.code != 0) {
alert("暂无数据");
return false;
}
callback(fieldName, index, result);
},
error: function() {
alert("获取条件筛选异常")
},
complete:function(){
}
});
转载于:https://www.cnblogs.com/hyx626/p/9778954.html