order('create_time asc')->select(); $note_list = get_data_node($note, $id); $note_array = array_column($note_list, 'id'); if ($is_self == 1) { //包括自己在内 $note_array[] = $id; } return $note_array; } //读取公告分类列表 function note_cate() { $cate = Db::name('NoteCate')->order('id desc')->select()->toArray(); return $cate; }