定版之后bug修改----数组格式转换

This commit is contained in:
2025-09-17 20:48:58 +08:00
parent 3d2735653e
commit ca2d1da548

View File

@@ -279,6 +279,8 @@ class Push
public function giftBanner($gift_list)
{
$topic = 'qx_room_topic';
//数组重组下标从0开始
$gift_list = array_values($gift_list);
$data = ['room_id' => $this->room_id, 'list' => $gift_list];
$this->push(self::PUSH_GIFT_BANNER, $topic, $data);
}