This commit is contained in:
aozhiwei 2024-08-12 11:16:41 +08:00
parent 71b80cafd5
commit 0b87251841
2 changed files with 8 additions and 1 deletions

View File

@ -341,7 +341,10 @@ class BigwheelController extends BaseAuthedController {
'property_chg' => $this->propertyChgService->toDto(),
'info' => $info
));
//myself()->_fireEvent('Bigwheel', 'onBuyOk', $info);
myself()->_fireEvent('Bigwheel', 'onBuyOk', array(
'grid_id' => $gridId,
'buy_price' => $gridRef['buy_price'],
));
}
private function getMidDataKey()

View File

@ -10,4 +10,8 @@ class Bigwheel
myself()->_callServiceStatic('BigwheelService', 'onWinPrize', $grid1, $grid2);
}
public static function onBuyOk($gridId, $buyPrice)
{
}
}