From 46fb4a72c83f8ed71aac5563da6e316536a67c1d Mon Sep 17 00:00:00 2001 From: ljl Date: Tue, 15 Aug 2023 15:16:55 +0800 Subject: [PATCH] y --- app/Controller/Payment/PaymentController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/Payment/PaymentController.php b/app/Controller/Payment/PaymentController.php index b2e1ea7..ab0364d 100644 --- a/app/Controller/Payment/PaymentController.php +++ b/app/Controller/Payment/PaymentController.php @@ -77,8 +77,8 @@ class PaymentController extends AbstractController public function payment(RequestInterface $request) { [$app, $data, $token] = $this->parseReqest($request, UnbindCardRequest::class); - $this->paymentService->payment($data, $app, $token); - return $this->success(); + $url = $this->paymentService->payment($data, $app, $token); + return $this->success(['url' => $url]); } public function refundApply(RequestInterface $request)