Register.php
2.22 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
use Action\AbstractAction;
class RegisterController extends AbstractAction
{
/**
* 登录页
*/
public function indexAction()
{
$data = array(
'registerPage' => true,
'passport' => array(
'actionUrl' => '/passport/register/mobileregister',
'region' => array(
array(
'id' => 86,
'name' => '中国',
'selected' => true
),
array(
'id' => 853,
'name' => '中国澳门',
'selected' => false
),
array(
'id' => 886,
'name' => '中国台湾',
'selected' => false
),
array(
'id' => 65,
'name' => '中国香港',
'selected' => false
),
array(
'id' => 60,
'name' => '马来西亚',
'selected' => false
),
),
'location' => '+86',
'captchaUrl' => 'http://www.yohobuy.com/passport/images?t=1449799445',
'itemUrl' => '##',
'refUrl' => 'http://www.yohobuy.com/',
'loginUrl' => '/signin.html?refer=http://www.yohobuy.com/',
'coverHref' => '/passport',
'coverImg' => 'http://img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190'
)
);
$this->_view->display('index', $data);
}
public function checkmobileAction()
{
$data = array(
'code' => 404
);
$this -> echoJson($data);
}
public function piccaptchaAction()
{
$data = array(
'code' => 404
);
$this -> echoJson($data);
}
public function msgcaptchaAction()
{
$data = array(
'code' => 404
);
$this -> echoJson($data);
}
}