
参数type由get改成post
添加参数cache并设置成false
添加时间戳
$.ajax({
url: ios/index,
cache: false,
type: post,
data: {
timestamp: new Date().getTime()
//params here
},
dataType: json
}).done(function (data) {
//codes here
});
是不是非常的简单呢,希望小伙伴们能够喜欢。
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...