|
|
@ -64,14 +64,14 @@ class PaymentController extends AbstractController
|
|
|
|
public function pwdForget(RequestInterface $request)
|
|
|
|
public function pwdForget(RequestInterface $request)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[$app, $data, $token] = $this->parseReqest($request, UnbindCardRequest::class);
|
|
|
|
[$app, $data, $token] = $this->parseReqest($request, UnbindCardRequest::class);
|
|
|
|
$url = $this->userService->unbindCard($data, $app, $token);
|
|
|
|
$url = $this->userService->pwdForget($data, $app, $token);
|
|
|
|
return $this->success(['url' => $url]);
|
|
|
|
return $this->success(['url' => $url]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function pwdModify(RequestInterface $request)
|
|
|
|
public function pwdModify(RequestInterface $request)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[$app, $data, $token] = $this->parseReqest($request, UnbindCardRequest::class);
|
|
|
|
[$app, $data, $token] = $this->parseReqest($request, UnbindCardRequest::class);
|
|
|
|
$url = $this->userService->unbindCard($data, $app, $token);
|
|
|
|
$url = $this->userService->pwdModify($data, $app, $token);
|
|
|
|
return $this->success(['url' => $url]);
|
|
|
|
return $this->success(['url' => $url]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|