12345678910111213141516171819202122232425 |
- <?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';
- }
- }
|