房间热度卡开发。

This commit is contained in:
2026-01-23 15:02:06 +08:00
parent b44227cebc
commit b6297117a1
2 changed files with 8 additions and 2 deletions

View File

@@ -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;