Commit 5af2880f authored by sugar's avatar sugar

圈子新增

parent ab9fbe18
Pipeline #698 canceled with stages
......@@ -208,7 +208,7 @@ class Friend extends Api{
public function getRandomFriends(){
$page = $this->request->post('page',1);
$list = Db::name('fastim_user')
->where(['user_id' =>['nep',$this->auth->id]])
->where(['user_id' =>['neq',$this->auth->id]])
->order("rand(1,30)")
->limit($this->pageSize)
->page($page)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment