...
|
...
|
@@ -55,6 +55,7 @@ class BackController extends WebAction |
|
|
$mobile = $phoneNum;
|
|
|
$data = BackData::sendCodeToMobile($mobile);
|
|
|
$this->setSession('phoneNum', $phoneNum);
|
|
|
$this->setSession('area', $area);
|
|
|
if($data['code'] == 200) {
|
|
|
$this->redirect('verification');
|
|
|
}
|
...
|
...
|
@@ -159,12 +160,20 @@ class BackController extends WebAction |
|
|
* 手机验证
|
|
|
*/
|
|
|
public function verificationAction() {
|
|
|
$phoneNum = $this->getSession('phoneNum');
|
|
|
$area = $this->getSession('area');
|
|
|
// if(empty($phoneNum)) {
|
|
|
// $this->redirect('index');
|
|
|
// }
|
|
|
$banner = PassportModel::getLeftBanner(PassportModel::BACK_LFFT_BANNER_CODE);
|
|
|
$data = array(
|
|
|
'simpleHeader' => PassportModel::getSimpleHeader(false),
|
|
|
'vertificationPage' => true,
|
|
|
'verification' => array(
|
|
|
'coverHref' => '/passport',
|
|
|
'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190',
|
|
|
'coverHref' => $banner['url'],
|
|
|
'coverImg' => $banner['img'],
|
|
|
'phoneNum' => $phoneNum,
|
|
|
'area' => $area,
|
|
|
'countrys' => array()
|
|
|
)
|
|
|
);
|
...
|
...
|
|