diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index bc2b285..c77d51a 100644 --- a/app/Controller/Payment/AccountController.php +++ b/app/Controller/Payment/AccountController.php @@ -106,7 +106,7 @@ class AccountController extends AbstractController { $userInfo = $this->checkUser($request); $userId = $this->resetUserId($userInfo['userId']); - $requestLog = $this->createRequestLog(['userId' => $userId]); + $requestLog = $this->createRequestLog(['userId' => $userId, 'returnUrl' => 'http://124.223.222.61:9701/account.html']); $url = $this->userService->bindCard($requestLog->getData(), $requestLog->app, $requestLog->request_token); return $this->success(['url' => $url]); } @@ -124,7 +124,7 @@ class AccountController extends AbstractController { $userInfo = $this->checkUser($request); $userId = $this->resetUserId($userInfo['userId']); - $requestLog = $this->createRequestLog(['userId' => $userId]); + $requestLog = $this->createRequestLog(['userId' => $userId, 'returnUrl' => 'http://124.223.222.61:9701/account.html']); $url = $this->userService->pwdForget($requestLog->getData(), $requestLog->app, $requestLog->request_token); return $this->success(['url' => $url]); } @@ -133,7 +133,7 @@ class AccountController extends AbstractController { $userInfo = $this->checkUser($request); $userId = $this->resetUserId($userInfo['userId']); - $requestLog = $this->createRequestLog(['userId' => $userId]); + $requestLog = $this->createRequestLog(['userId' => $userId, 'returnUrl' => 'http://124.223.222.61:9701/account.html']); $url = $this->userService->pwdModify($requestLog->getData(), $requestLog->app, $requestLog->request_token); return $this->success(['url' => $url]); }