alidate.form()) {
            checkTableName(prefix + "/checkTableName", $('#form-post-add').serialize());
        }
    }


    function checkTableName(url, data, callback) {
        var config = {
            url: url,
            type: "post",
            dataType: "json",
            data: data,
            beforeSend: function () {
                $.modal.loading("正在处理中，请稍候...");
            },
            success: function (result) {
                if (typeof callback == "function")