房间热度卡开发。
This commit is contained in:
@@ -27,7 +27,7 @@ class Decorate extends Model
|
||||
}
|
||||
|
||||
//获取装扮类型
|
||||
public function get_type_list($have_hot = 0)
|
||||
public function get_type_list($have_hot = 0,$from=1)
|
||||
{
|
||||
$no_show_ids = [7,8,3,10,11];
|
||||
$label = $this->TypeArray;
|
||||
@@ -40,6 +40,11 @@ class Decorate extends Model
|
||||
if (in_array($k, $no_show_ids)) {
|
||||
continue;
|
||||
}
|
||||
if($from==2){
|
||||
if($k==13){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$data[$i]['id'] = $k;
|
||||
$data[$i]['name'] = $v;
|
||||
++$i;
|
||||
|
||||
Reference in New Issue
Block a user