feat : Bridge pay

This commit is contained in:
2025-09-07 18:22:41 +08:00
parent cb7e8842d6
commit 33cd767477
11 changed files with 369 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Controller\Test;
use App\Service\Test\Bridge\PayService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\RequestMapping;
#[Controller(prefix: 'bridge/test')]
class BridgeController
{
/**
* 桥接消费
* @return array
*/
#[RequestMapping(path: 'pay', methods: 'GET')]
public function pay(): array
{
return (new PayService)->handle();
}
}