Authored by xiaowei

手机绑定

@@ -192,15 +192,15 @@ class BindController extends AbstractAction @@ -192,15 +192,15 @@ class BindController extends AbstractAction
192 } 192 }
193 193
194 $phoneNum = $this->post('phoneNum'); 194 $phoneNum = $this->post('phoneNum');
195 - $msgCode = $this->post('msgCode'); 195 + $code = $this->post('code');
196 $areaCode = $this->post('areaCode'); 196 $areaCode = $this->post('areaCode');
197 197
198 - if (!is_numeric($phoneNum) || !$msgCode) 198 + if (!is_numeric($phoneNum) || !$code)
199 { 199 {
200 break; 200 break;
201 } 201 }
202 202
203 - $data = BindData::checkBindCode($areaCode,$phoneNum, $msgCode); 203 + $data = BindData::checkBindCode($areaCode,$phoneNum, $code);
204 if (!isset($data['code'])) 204 if (!isset($data['code']))
205 { 205 {
206 break; 206 break;