0 0 0

苹果cms内置ajax数据接口说明

特朗普
2月前 105
苹果cms内置ajax数据接口说明
参数
mid:模块1视频2文章3专题
limit:每页条数,支持10,20,30
page:页码,最多不超过20页,防止非法采集
接口地址是index.php/ajax/data.html?mid=1&page=1&limit=10接口调用参考代码,自行修改
$.ajax({
type: "POST",
dataType: "JSON",
url: "index.php/ajax/data.html",
data:{mid:1,page:1,limit:10},
success:function(data,status){
console.log(data)
},
error:function(XMLHttpRequest,textStatus,errorThrown){
console.log(json_decode.msg)
}
});
本站资源均来自互联网,主题模板下载后自行检查检测。苹果CMS如何防止后门,在置顶帖有说明
最新回复 (0)

    暂无评论

请先登录后发表评论!

返回
请先登录后发表评论!