feat : Proxy payment

This commit is contained in:
2025-09-07 12:17:43 +08:00
parent 14ba4674ee
commit d509459134
5 changed files with 136 additions and 0 deletions

View File

@@ -4,8 +4,10 @@ declare(strict_types=1);
namespace App\Controller\Test;
use App\Service\Test\Proxy\AopService;
use App\Service\Test\Proxy\BasicSubjectService;
use App\Service\Test\Proxy\DynamicProxyService;
use App\Service\Test\Proxy\Payment\PaymentService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\RequestMapping;
use Psr\Container\ContainerExceptionInterface;
@@ -33,4 +35,13 @@ class ProxyController
{
return (new DynamicProxyService)->handle();
}
/**
* @return array
*/
#[RequestMapping(path: 'payment', methods: 'GET')]
public function payment(): array
{
return (new AopService)->handle();
}
}