Authored by Rock Zhang

修改设置密码路由为backcode

... ... @@ -238,14 +238,14 @@ class BackController extends AbstractAction
$result = BackData::validateMobileCode($phoneNum, $code, $areaCode);
if($result['code'] === 200)
{
$result['data'] = '/passport/back/password?phoneNum='.$phoneNum.'&token='.$result['data']['token'].'&areaCode='.$areaCode;
$result['data'] = '/passport/back/backcode?phoneNum='.$phoneNum.'&token='.$result['data']['token'].'&areaCode='.$areaCode;
}
$this->echoJson($result);
}
}
public function passwordAction()
public function backcodeAction()
{
$phoneNum = $this->get('phoneNum', '');
// 手机验证令牌
... ...