This commit is contained in:
2023-03-08 09:16:04 +08:00
commit e78454540f
1318 changed files with 210569 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace Modules\Payment\Events;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use Modules\Payment\Models\Payment;
/**
* Class Paid
* 支付完成事件
*
* @package Module\Payment\Events
*/
class Paid
{
use Dispatchable,
SerializesModels;
/**
* 支付订单模型
*
* @var \Modules\Payment\Models\Payment
*/
public Payment $payment;
/**
* 创建一个事件的实例
*
* @param \Modules\Payment\Models\Payment $payment
* @return void
*/
public function __construct(Payment $payment)
{
$this->payment = $payment;
}
}