代码中的user_follow_uids这样拼装语句为什么不直接放到数据库里?
[code] if ($user_follow_uids = $this->model('follow')->get_user_friends_ids($uid))
{
// 添加问题, 回复问题, 添加文章
$where_in = "(uid IN (" . implode(',', $user_follow_uids) . ") AND associate_action IN(" . ACTION_LOG::ADD_QUESTION . ',' . ACTION_LOG::ANSWER_QUESTION . ',' . ACTION_LOG::ADD_ARTICLE . ',' . ACTION_LOG::ADD_COMMENT_ARTICLE . '))';
<script>123123</script>
[/code]AI智能回复搜索中,请稍后...