This commit is contained in:
25
app/Controller/Test/AdapterTestController.php
Normal file
25
app/Controller/Test/AdapterTestController.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user