ajax请求经典格式

$.ajax({
            url: url,
            type: "POST",
            dataType: "json",
            data: data,
            success: funtion1,
            error: function2
        });
原文地址:https://www.cnblogs.com/daihu/p/9959117.html