...
|
...
|
@@ -102,6 +102,22 @@ class BindController extends AbstractAction |
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 绑定成功页面
|
|
|
*/
|
|
|
public function successAction()
|
|
|
{
|
|
|
$this->setTitle('重新设置登录密码');
|
|
|
$data = array(
|
|
|
'isPassportPage' => true, // 模板中模块标识
|
|
|
'successTip' => '恭喜,您的手机号码已经关联成功。<br/>该手机号码不能用来登陆此账户,您可以选择继续使用微信登录', //提示文字
|
|
|
'goUrl' => Helpers::url('/'), // 返回的到关联流程前的浏览页面
|
|
|
);
|
|
|
|
|
|
// 渲染模板
|
|
|
$this->_view->display('success', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 绑定前手机号校验
|
|
|
*/
|
|
|
public function bindCheckAction()
|
...
|
...
|
@@ -119,7 +135,7 @@ class BindController extends AbstractAction |
|
|
$areaCode = $this->post('areaCode', '86');
|
|
|
$sourceType = $this->post('sourceType');
|
|
|
$nickname = $this->post('nickname');
|
|
|
|
|
|
|
|
|
if (!is_numeric($phoneNum) || !$openId || !$areaCode || !$sourceType) {
|
|
|
break;
|
|
|
}
|
...
|
...
|
|