$users_list = $this->fetch_all('users', 'uid <> ' . intval($uid) . ' AND last_active > ' . (time() - (60 [i] 60 [/i] 24 [i] 30)), 'answer_count DESC', ($limit [/i] 4));但是 签名应该是在aws_users_attrib表里面 用AWS_MODE里面的sql直查函数query
$users_list = $this->query('select [i] from aws_users u,aws_users_attrib b where u.verified =1 AND u.last_active > ' . (time() - (60 [/i] 60 [i] 24 [/i] 30)) ' AND u.uid=b.uid order by u.answer_count DESC');上面这个SQL在数据库可以正常查询,但是在系统里面无效,页面空白了,请问应该怎么写呢?
AI智能回复搜索中,请稍后...