Authored by whb

修改密码

@@ -193,26 +193,26 @@ class BackController extends WebAction { @@ -193,26 +193,26 @@ class BackController extends WebAction {
193 $area = $info ['area']; 193 $area = $info ['area'];
194 $data = BackData::modifyPasswordByMobile($mobile, $token, $password, $area); 194 $data = BackData::modifyPasswordByMobile($mobile, $token, $password, $area);
195 if ($data ['code'] == 200) { 195 if ($data ['code'] == 200) {
196 - $this->redirect ( 'resetSuccess' ); 196 + $this->redirect ( 'resetsuccess' );
197 } 197 }
198 } else if (isset ($info ['uid'])) { //其他方式修改密码,跳到找回密码首页 198 } else if (isset ($info ['uid'])) { //其他方式修改密码,跳到找回密码首页
199 - $this->redirect ( '/index' ); 199 + $this->redirect ( 'index' );
200 } 200 }
201 } else { //新版邮箱修改接口 201 } else { //新版邮箱修改接口
202 $data = BackData::modifyPasswordByEmailCode($code, $password); 202 $data = BackData::modifyPasswordByEmailCode($code, $password);
203 if ($data ['code'] == 200) { 203 if ($data ['code'] == 200) {
204 - $this->redirect ( 'resetSuccess' ); 204 + $this->redirect ('resetsuccess');
205 } 205 }
206 } 206 }
207 } 207 }
208 // 跳转错误页面 208 // 跳转错误页面
209 - $this->redirect('/index'); 209 + $this->redirect('index');
210 } 210 }
211 211
212 /** 212 /**
213 * 重置密码成功 213 * 重置密码成功
214 */ 214 */
215 - public function resetSuccessAction() 215 + public function resetsuccessAction()
216 { 216 {
217 $banner = PassportModel::getLeftBanner ( PassportModel::BACK_LFFT_BANNER_CODE ); 217 $banner = PassportModel::getLeftBanner ( PassportModel::BACK_LFFT_BANNER_CODE );
218 $data = array ( 218 $data = array (