作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

is_direct

@@ -692,7 +692,7 @@ class House extends Api @@ -692,7 +692,7 @@ class House extends Api
692 ->join('user b','a.user_id = b.id') 692 ->join('user b','a.user_id = b.id')
693 ->where('a.house_id',$house_id) 693 ->where('a.house_id',$house_id)
694 ->field('a.id,a.user_id,b.avatar,b.nickname') 694 ->field('a.id,a.user_id,b.avatar,b.nickname')
695 - ->order('a.direct') 695 + ->order('a.is_direct')
696 ->select(); 696 ->select();
697 foreach ($data as &$v){ 697 foreach ($data as &$v){
698 $mes = Db::name('message') 698 $mes = Db::name('message')