        } else {
                    layer.alert(result.msg, {icon: 2});
                    code = 0;
                }
            },
            error: function (xhr) {
                alert(xhr.text());
            }
        })
        return code;
    }

    layui.use(['form', 'croppers'], function () {
        var $ = layui.jquery,
            form = layui.form,
            layer = layui.layer;

        // 加载章节
        function loadFather(note_id) {
            $.ajax({
                type: "