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)