26 lines
439 B
PHP
26 lines
439 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Yansongda\Pay\Plugin\Wechat;
|
||
|
|
||
|
use Yansongda\Pay\Rocket;
|
||
|
|
||
|
class WechatPublicCertsPlugin extends GeneralPlugin
|
||
|
{
|
||
|
protected function getMethod(): string
|
||
|
{
|
||
|
return 'GET';
|
||
|
}
|
||
|
|
||
|
protected function doSomething(Rocket $rocket): void
|
||
|
{
|
||
|
$rocket->setPayload(null);
|
||
|
}
|
||
|
|
||
|
protected function getUri(Rocket $rocket): string
|
||
|
{
|
||
|
return 'v3/certificates';
|
||
|
}
|
||
|
}
|