|
|
|
@ -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]);
|
|
|
|
|
}
|
|
|
|
|