27 lines
624 B
PHP
Executable File
27 lines
624 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class PaySuccessEvent
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
// 第三方订单查询结果
|
|
public $tradeInfo;
|
|
public $userType;
|
|
public $payType;
|
|
public $rechargeSn;
|
|
|
|
public function __construct($userType, $tradeInfo, $payType, $rechargeSn)
|
|
{
|
|
$this->userType = $userType;
|
|
$this->tradeInfo = $tradeInfo;
|
|
$this->payType = $payType;
|
|
$this->rechargeSn = $rechargeSn;
|
|
}
|
|
}
|