|
|
|
@ -64,14 +64,14 @@ class PaymentController extends AbstractController
|
|
|
|
|
public function pwdForget(RequestInterface $request)
|
|
|
|
|
{
|
|
|
|
|
[$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]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function pwdModify(RequestInterface $request)
|
|
|
|
|
{
|
|
|
|
|
[$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]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|