1
This commit is contained in:
parent
36a59e335f
commit
9924a0016f
@ -280,6 +280,7 @@ class BigwheelController extends BaseAuthedController {
|
|||||||
)
|
)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
myself()->_fireEvent('Bigwheel', 'onWinPrize', $grid1, $grid2, $drop1, $drop2);
|
||||||
$this->sendNotify($drop1[0]['item_id']);
|
$this->sendNotify($drop1[0]['item_id']);
|
||||||
$this->sendNotify($drop2[0]['item_id']);
|
$this->sendNotify($drop2[0]['item_id']);
|
||||||
}
|
}
|
||||||
|
@ -5,12 +5,8 @@ namespace events;
|
|||||||
class Bigwheel
|
class Bigwheel
|
||||||
{
|
{
|
||||||
|
|
||||||
public static function onWinBigPrize($data)
|
public static function onWinPrize($grid1, $grid2, $drop1, $drop2)
|
||||||
{
|
{
|
||||||
//触发(调用)对应对该事件感兴趣的模块
|
|
||||||
//myself()->_callServiceStatic('A', 'f1', $battleData);
|
|
||||||
//myself()->_callServiceStatic('B', 'f1', $battleData);
|
|
||||||
echo json_encode($data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user