feat : refund

This commit is contained in:
2025-02-24 15:37:06 +08:00
parent c14901de4a
commit 5febca23aa
2 changed files with 4 additions and 2 deletions

View File

@@ -4,8 +4,10 @@ declare(strict_types=1);
namespace App\Controller\Api;
use App\Amqp\Producer\RefundOrderProducer;
use App\Controller\AbstractController;
use App\Middleware\Api\JwtAuthMiddleware;
use App\Service\Api\Order\RefundOrderService;
use App\Service\Api\Pay\PlacePayService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;
@@ -29,6 +31,6 @@ class PayController extends AbstractController
#[Scene(scene: 'refund')]
public function refund()
{
return (new RefundOrderService)->handle();
}
}