房间关系过滤处理
This commit is contained in:
@@ -11,7 +11,7 @@ class RoomAuction extends Model
|
||||
//房间关系列表
|
||||
public function room_relation_list($type_id)
|
||||
{
|
||||
$list = db::name('vs_relation')->field('id as relation_id,name,type,icon')->where('type',$type_id)->select();
|
||||
$list = db::name('vs_relation')->field('id as relation_id,name,type,icon')->where(['type' => $type_id,'delete_time' => 0])->select();
|
||||
return ['code' => 1, 'msg' => '操作成功','data' => $list];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user