          $('#listdata').datagrid('selectRow', index);
                var selRow = $('#listdata').datagrid('getSelected');
                $.messager.confirm('Confirm', value == 1 ? '确认取消精华吗？' : '确认精华吗？', function(r) {
                    if (r) {
                        $.get("{{ url('share/set-digest') }}", {'id':selRow.id}, function(data) {
                            if (data.error) {
                                $.messager.alert('错误', data.message, 'error');
        