- 新增epay v2、v3、v3new版本的支付类库及证书文件 - 新增cos云存储类库文件 - 调整文件上传保存格式为按分类存储 - 修复会员、规则、类目等语言翻译键名 - 新增小程序图标等静态资源文件
33 行
668 B
PHP
33 行
668 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Yansongda\Pay\Event;
|
|
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
use Yansongda\Pay\Rocket;
|
|
|
|
class CallbackReceived extends Event
|
|
{
|
|
public string $provider;
|
|
|
|
public ?array $params = null;
|
|
|
|
/**
|
|
* @var null|array|ServerRequestInterface
|
|
*/
|
|
public $contents;
|
|
|
|
/**
|
|
* @param null|array|ServerRequestInterface $contents
|
|
*/
|
|
public function __construct(string $provider, $contents, ?array $params = null, ?Rocket $rocket = null)
|
|
{
|
|
$this->provider = $provider;
|
|
$this->contents = $contents;
|
|
$this->params = $params;
|
|
|
|
parent::__construct($rocket);
|
|
}
|
|
}
|