后端返回json对象,前端查询数据结果 success:function (data) { alert(JSON.stringify(data)) //后端返回的数据,通过alert方式转成字符串打印出来 console.log(data);//通过控制台打印出来 }