$.ajax({
        url: "",
        dataType: "json", //返回格式为json
        async: true, //请求是否异步,默认为异步
        data: {}, //参数值
        type: "GET", //请求方式
        beforeSend: function () {
            //请求前的处理
        },
        success: function (result) {
            //请求成功处理
        },
        complete: function () {
            //请求完成的处理
        },
        error: function () {
            //请求出错处理
        }
    });