1234567891011121314151617181920212223242526272829 |
- <?php
- declare(strict_types=1);
- namespace Yansongda\Pay\Plugin\Unipay\QrCode;
- use Yansongda\Pay\Plugin\Unipay\GeneralPlugin;
- use Yansongda\Pay\Rocket;
- class ScanPreOrderPlugin extends GeneralPlugin
- {
- protected function getUri(Rocket $rocket): string
- {
- return 'gateway/api/order.do';
- }
- protected function doSomething(Rocket $rocket): void
- {
- $rocket->mergePayload([
- 'bizType' => '000000',
- 'txnType' => '01',
- 'txnSubType' => '01',
- 'channelType' => '08',
- ]);
- }
- }
|