...
|
...
|
@@ -193,26 +193,26 @@ class BackController extends WebAction { |
|
|
$area = $info ['area'];
|
|
|
$data = BackData::modifyPasswordByMobile($mobile, $token, $password, $area);
|
|
|
if ($data ['code'] == 200) {
|
|
|
$this->redirect ( 'resetSuccess' );
|
|
|
$this->redirect ( 'resetsuccess' );
|
|
|
}
|
|
|
} else if (isset ($info ['uid'])) { //其他方式修改密码,跳到找回密码首页
|
|
|
$this->redirect ( '/index' );
|
|
|
$this->redirect ( 'index' );
|
|
|
}
|
|
|
} else { //新版邮箱修改接口
|
|
|
$data = BackData::modifyPasswordByEmailCode($code, $password);
|
|
|
if ($data ['code'] == 200) {
|
|
|
$this->redirect ( 'resetSuccess' );
|
|
|
$this->redirect ('resetsuccess');
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
// 跳转错误页面
|
|
|
$this->redirect('/index');
|
|
|
$this->redirect('index');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 重置密码成功
|
|
|
*/
|
|
|
public function resetSuccessAction()
|
|
|
public function resetsuccessAction()
|
|
|
{
|
|
|
$banner = PassportModel::getLeftBanner ( PassportModel::BACK_LFFT_BANNER_CODE );
|
|
|
$data = array (
|
...
|
...
|
|