$.ajax({
url: '../../services/users_serivce.php',
type: 'POST',
async:false,//设置为同步
data:{
method: "is_exist",
where: where,
},
dataType: 'html',
timeout: 1000,
error: function(){alert('Error loading PHP document');},
success: function(txt){result=txt;}
});