public function get_invite_users($question_id, $limit = 10) { if ($invite_users_list = AWS_APP::cache()->get('question_invite_users_' . $question_id)) { return $invite_users_list; } if ($invites = $this->fetch_all('question_invite', 'question_id = ' . intval($question_id), 'question_invite_id DESC', $limit)) { foreach ($invites as $key => $val) { $invite_users[$val['recipients_uid']] = $val['recipients_uid']; } $invite_users_list = $this->model('account')->get_user_info_by_uids($invite_users); AWS_APP::cache()->set('question_invite_users_' . $question_id, $invite_users_list, get_setting('cache_level_normal')); return $invite_users_list;//这一句移个位置 } }同时 /models/question.php 文件中,还有几处写成 quesion ,估计实际意思应该为 question 的,建议官方统一替换回来。这种手误写法 只存在于 /models/question.php 文件中,其它文件未找到。
这家伙很懒,还没有设置简介