签约房-装扮-降身卡功能开发-个人装扮

This commit is contained in:
2025-11-26 15:15:19 +08:00
parent 8dbbe1e2b3
commit b5501cd6e8
2 changed files with 4 additions and 1 deletions

View File

@@ -1041,6 +1041,9 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
*/
public function xlh_draw_gift($user_id, $num, $room_id)
{
if(empty($room_id)){
return ['code' => 0, 'msg' => '房间ID不能为空', 'data' => null];
}
$gift_bag_id = 13;
// 1. 获取并缓存盲盒配置
$ext = $this->getCachedGiftBag($gift_bag_id); //获取转盘信息