📅  最后修改于: 2022-03-11 15:01:48.230000             🧑  作者: Mango
function doTheThing() {
$.ajax({
url: window.location.href,
type: 'POST',
data: {
key: 'value',
},
success: function (data) {
console.log(data)
},
error: function (error) {
console.log(error)
},
})
}