26 lines
486 B
PHP
26 lines
486 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Controller\Test;
|
|
|
|
use App\Service\Test\Adapter\PayService;
|
|
use App\Service\Test\AdapterTestService;
|
|
use Hyperf\HttpServer\Annotation\Controller;
|
|
use Hyperf\HttpServer\Annotation\RequestMapping;
|
|
|
|
#[Controller(prefix: 'adapter/test')]
|
|
class AdapterTestController
|
|
{
|
|
#[RequestMapping(path: 'pay', methods: 'GET')]
|
|
public function pay()
|
|
{
|
|
return (new PayService)->handle();
|
|
}
|
|
|
|
public function cache()
|
|
{
|
|
|
|
}
|
|
}
|