$(function() { var data = { gid: 0, aid: 0, pid: 0, referer:document.referrer, laiyuan:document.location.href, } $.ajax({ url: '//tongji.jz68888.com/stat', type: 'POST', data: data, dateType: 'JSON', success: function(res) { } }); });