定版之后bug修改----数组格式转换
This commit is contained in:
@@ -279,6 +279,8 @@ class Push
|
|||||||
public function giftBanner($gift_list)
|
public function giftBanner($gift_list)
|
||||||
{
|
{
|
||||||
$topic = 'qx_room_topic';
|
$topic = 'qx_room_topic';
|
||||||
|
//数组重组下标从0开始
|
||||||
|
$gift_list = array_values($gift_list);
|
||||||
$data = ['room_id' => $this->room_id, 'list' => $gift_list];
|
$data = ['room_id' => $this->room_id, 'list' => $gift_list];
|
||||||
$this->push(self::PUSH_GIFT_BANNER, $topic, $data);
|
$this->push(self::PUSH_GIFT_BANNER, $topic, $data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user