初始化仓库

This commit is contained in:
2024-09-19 11:32:39 +08:00
commit 8f5315e936
921 changed files with 76455 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace common\handlers\orderHandler;
use common\forms\order\CommonLog;
class OrderCreatedHandlerClass extends BaseOrderCreatedHandler
{
public function handle()
{
CommonLog::saveLog($this->event->order->id,'下单created事件start');
$this->user = $this->event->order->user;
$this->setAutoCancel()->deleteCartGoods();
CommonLog::saveLog($this->event->order->id,'下单created事件end');
}
}