- 參數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});
是不是非常的簡單呢,希望小伙伴們能夠喜歡。
$.ajax({ url: 'ios/index', cache: false, type: 'post', data: { timestamp: new Date().getTime() //params here }, dataType: 'json'}).done(function (data) { //codes here});
是不是非常的簡單呢,希望小伙伴們能夠喜歡。
新聞熱點
疑難解答
圖片精選