40 lines
608 B
PHP
40 lines
608 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* Author:
|
|
* Date: 2017/3/28
|
|
* Time: 下午8:40
|
|
*/
|
|
|
|
namespace app\common\events;
|
|
|
|
|
|
use app\common\services\Pay;
|
|
|
|
class PayLog extends Event
|
|
{
|
|
protected $pay_request_params;
|
|
|
|
protected $pay;
|
|
|
|
public function __construct($params, Pay $pay)
|
|
{
|
|
$this->pay_request_params = $params;
|
|
|
|
$this->pay = $pay;
|
|
}
|
|
|
|
/**
|
|
* 支付请求参数
|
|
* @return mixed
|
|
*/
|
|
public function getPayRequestParams()
|
|
{
|
|
return $this->pay_request_params;
|
|
}
|
|
|
|
public function getPayObject()
|
|
{
|
|
return $this->pay;
|
|
}
|
|
} |