爵位接口提交-前台-接口修改-礼物列表加爵位礼物是否显示
This commit is contained in:
@@ -42,7 +42,7 @@ class RoomEmoji extends Model
|
||||
if ($type_id == 3) { // 专属礼物
|
||||
$Nobility = model('api/Nobility')->getUserNobilityInfo($user_id);
|
||||
$power_list_ids = array_column($Nobility['power_list'],'id');
|
||||
if(!in_array(5,$power_list_ids)){
|
||||
if(!in_array(9,$power_list_ids)){
|
||||
$is_lock = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user