Login.php
1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
use Action\AbstractAction;
class LoginController extends AbstractAction
{
public function indexAction()
{
$data = array(
'showGoBack' => true,
'backUrl' => '',
'showHeaderImg' => true,
'isPassportPage' => true,
'modulePath' => 'passport/login/login'
);
$this->_view->assign('title', '登录');
$this->_view->display('index', $data);
}
public function interationalAction()
{
$data = array(
'showGoBack' => true,
'backUrl' => '',
'showHeaderText' => true,
'headerText' => '登录',
'isPassportPage' => true,
'modulePath' => 'passport/login/interational',
'countrys' => array(
array(
'areaCode' => '+86',
'selected' => true,
'name' => '中国'
),
array(
'areaCode' => '+864',
'name' => '中国香港'
)
),
'countryCode' => '+86'
);
$this->_view->assign('title', '国际账号登录');
$this->_view->display('interational', $data);
}
}