the page submits parameters through the $.post method
var json = JSON.stringify(allData);
$.post("/deleteUser",
json,
function(data){
if (data == 10000) {
alert("");
} else {
alert("");
}
});
however, the parameter passed when submitting is {"userId": "1"}:
it treats the entire json as a key, which results in an exception in the receiving parameter, which should normally be "userId": "1", so how should it be changed?