feat : Proxy payment
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user