This commit is contained in:
2025-11-28 17:02:51 +08:00
parent dd81f497a9
commit fedc496263

View File

@@ -466,7 +466,20 @@ class Sign extends Model
$userInfo['nobility_image'] = $nobility['play_image'];
$userInfo['nickname_color'] = $nobility['nick_name_color'];
$text['text'] = $userInfo['nickname'].' 换到老板位';
if($to_pit == 1){
$pit_text = '签约麦';
}elseif($to_pit == 2){
$pit_text = '师父麦';
}elseif ($to_pit == 3 || $to_pit == 4 || $to_pit == 5) {
$pit_text = '老板麦';
}elseif($to_pit == 9){
$pit_text = '主持麦';
}elseif ($to_pit == 10) {
$pit_text = '嘉宾麦';
}else{
$pit_text = $to_pit . '号麦';
}
$text['text'] = $userInfo['nickname'].' 换到'.$pit_text;
$text['FromUserInfo'] = $userInfo;
$text['from_pit_number'] = $from_pit;
$text['to_pit_number'] = $to_pit;