|
@@ -16,10 +16,10 @@ class BackController extends AbstractAction |
|
@@ -16,10 +16,10 @@ class BackController extends AbstractAction |
16
|
public function emailAction()
|
16
|
public function emailAction()
|
17
|
{
|
17
|
{
|
18
|
$data = array(
|
18
|
$data = array(
|
19
|
- 'backUrl' => 'm.yohobuy.com',
|
19
|
+ 'backUrl' => '/passport/login/index',
|
20
|
'headerText' => '找回密码',
|
20
|
'headerText' => '找回密码',
|
21
|
'isPassportPage' => true,
|
21
|
'isPassportPage' => true,
|
22
|
- 'modulePath' => 'passport/back/email'
|
22
|
+ 'backEmail' => true
|
23
|
);
|
23
|
);
|
24
|
|
24
|
|
25
|
$this->_view->assign('title', 'YOHO!有货');
|
25
|
$this->_view->assign('title', 'YOHO!有货');
|
|
@@ -49,7 +49,7 @@ class BackController extends AbstractAction |
|
@@ -49,7 +49,7 @@ class BackController extends AbstractAction |
49
|
'backUrl' => 'm.yohobuy.com',
|
49
|
'backUrl' => 'm.yohobuy.com',
|
50
|
'headerText' => '找回密码',
|
50
|
'headerText' => '找回密码',
|
51
|
'isPassportPage' => true,
|
51
|
'isPassportPage' => true,
|
52
|
- 'modulePath' => 'passport/back/email-success',
|
52
|
+ 'backEmailSuccess' => true,
|
53
|
'goEmail' => '',
|
53
|
'goEmail' => '',
|
54
|
'resendUrl' => ''
|
54
|
'resendUrl' => ''
|
55
|
);
|
55
|
);
|
|
@@ -89,7 +89,7 @@ class BackController extends AbstractAction |
|
@@ -89,7 +89,7 @@ class BackController extends AbstractAction |
89
|
// 处理地区信息
|
89
|
// 处理地区信息
|
90
|
foreach ($areas as &$val) {
|
90
|
foreach ($areas as &$val) {
|
91
|
$val['areaCode'] = $val['area'];
|
91
|
$val['areaCode'] = $val['area'];
|
92
|
- if($val['area'] == 86)
|
92
|
+ if($val['area'] === '86')
|
93
|
{
|
93
|
{
|
94
|
$val['selected'] = true;
|
94
|
$val['selected'] = true;
|
95
|
}
|
95
|
}
|
|
@@ -104,12 +104,12 @@ class BackController extends AbstractAction |
|
@@ -104,12 +104,12 @@ class BackController extends AbstractAction |
104
|
|
104
|
|
105
|
return ($a['id'] < $b['id'] ? -1 : 1);
|
105
|
return ($a['id'] < $b['id'] ? -1 : 1);
|
106
|
});*/
|
106
|
});*/
|
107
|
-
|
107
|
+
|
108
|
$data = array(
|
108
|
$data = array(
|
109
|
- 'backUrl' => 'm.yohobuy.com',
|
109
|
+ 'backUrl' => '/passport/back/login',
|
110
|
'headerText' => '找回密码',
|
110
|
'headerText' => '找回密码',
|
111
|
'isPassportPage' => true,
|
111
|
'isPassportPage' => true,
|
112
|
- 'modulePath' => 'passport/back/mobile',
|
112
|
+ 'backMobile' => true,
|
113
|
'countrys' => $areas,
|
113
|
'countrys' => $areas,
|
114
|
'countryCode' => '+86'
|
114
|
'countryCode' => '+86'
|
115
|
);
|
115
|
);
|
|
@@ -139,13 +139,13 @@ class BackController extends AbstractAction |
|
@@ -139,13 +139,13 @@ class BackController extends AbstractAction |
139
|
{
|
139
|
{
|
140
|
$mobile = $this->get('mobile', '');
|
140
|
$mobile = $this->get('mobile', '');
|
141
|
$area = $this->get('area', 86);
|
141
|
$area = $this->get('area', 86);
|
|
|
142
|
+ $areacode = '+'.$area;
|
142
|
|
143
|
|
143
|
$data = array(
|
144
|
$data = array(
|
144
|
- 'backUrl' => 'm.yohobuy.com',
|
145
|
+ 'backUrl' => '/passport/back/mobile',
|
145
|
'headerText' => '找回密码',
|
146
|
'headerText' => '找回密码',
|
146
|
'isPassportPage' => true,
|
147
|
'isPassportPage' => true,
|
147
|
- 'modulePath' => 'passport/back/code',
|
|
|
148
|
- 'areaCode' => '+86',
|
148
|
+ 'areaCode' => $areacode,
|
149
|
'phoneNum' => $mobile
|
149
|
'phoneNum' => $mobile
|
150
|
);
|
150
|
);
|
151
|
|
151
|
|
|
@@ -180,19 +180,10 @@ class BackController extends AbstractAction |
|
@@ -180,19 +180,10 @@ class BackController extends AbstractAction |
180
|
$area = $this->get('area', 86);
|
180
|
$area = $this->get('area', 86);
|
181
|
|
181
|
|
182
|
$data = array(
|
182
|
$data = array(
|
183
|
- 'backUrl' => 'm.yohobuy.com',
|
183
|
+ 'backUrl' => '/passport/back/login',
|
184
|
'headerText' => '找回密码',
|
184
|
'headerText' => '找回密码',
|
185
|
'isPassportPage' => true,
|
185
|
'isPassportPage' => true,
|
186
|
- 'modulePath' => 'passport/back/new-password',
|
|
|
187
|
- 'pageHeader' => array(
|
|
|
188
|
- 'navBack' => 'm.yohobuy.com',
|
|
|
189
|
- 'navHome' => 'm.yohobuy.com',
|
|
|
190
|
- 'navTitle' => '上衣'
|
|
|
191
|
- ),
|
|
|
192
|
- 'pageFooter' => array(
|
|
|
193
|
- 'loginUrl' => 'm.yohobuy.com/login.html',
|
|
|
194
|
- 'signupUrl' => 'm.yohobuy.com/signup.html'
|
|
|
195
|
- )
|
186
|
+ 'backNewPwd' => true,
|
196
|
);
|
187
|
);
|
197
|
|
188
|
|
198
|
$this->_view->assign('title', 'YOHO!有货');
|
189
|
$this->_view->assign('title', 'YOHO!有货');
|