Authored by xiaowei

手机绑定

... ... @@ -192,15 +192,15 @@ class BindController extends AbstractAction
}
$phoneNum = $this->post('phoneNum');
$msgCode = $this->post('msgCode');
$code = $this->post('code');
$areaCode = $this->post('areaCode');
if (!is_numeric($phoneNum) || !$msgCode)
if (!is_numeric($phoneNum) || !$code)
{
break;
}
$data = BindData::checkBindCode($areaCode,$phoneNum, $msgCode);
$data = BindData::checkBindCode($areaCode,$phoneNum, $code);
if (!isset($data['code']))
{
break;
... ...