SOURCE

/*$.ajax({
    type: "get",
    async: false,
    url: "http://hn216.api.yesapi.cn/", //实际上访问时产生的地址为: ajax.ashx?callbackfun=jsonpCallback&id=10
    data: {
        app_key: "",
        s: "App.Table.GetOneDataByOneField",
        model_name: "student_info",
        field_name: "realname",
        field_value: "pc2",
        select: "content"
    },
    cache: false, //默认值true
    dataType: "jsonp",
    success: function (json) {
        alert(JSON.stringify(json));
    },
    error: function () {
        alert("erroe");
    }
});*/

var fileName="pc5"
var str="dddd"

$.ajax({
    type: "get",
    async: false,
    url: "http://hn216.api.yesapi.cn/", //实际上访问时产生的地址为: ajax.ashx?callbackfun=jsonpCallback&id=10
    data: 	 {
        app_key: "",
        s: "App.Table.CheckCreateOrUpdate",
        model_name: "student_info",
        logic: "and",
        data: '{"realname":"'+ "665"+'","content":"'+ encodeURIComponent(str) +'"}',
		check_field:"realname"
    },
    cache: false, //默认值true
    dataType: "jsonp",
    success: function (json) {
        alert(JSON.stringify(json));
    },
    error: function () {
        alert("erroe");
    }
});

console 命令行工具 X clear

                    
>
console