This commit is contained in:
aozhiwei 2024-08-22 11:38:22 +08:00
parent 6011bb933f
commit adbb0ea437
2 changed files with 9 additions and 5 deletions

View File

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

View File

@ -12,6 +12,10 @@ class Bigwheel
public static function onBuyOk($gridId, $buyPrice)
{
myself()->_addTgLog('Bigwheel.buyOk', array(
'gridId' => $gridId,
'buyPrice' => $buyPrice
));
}
}