Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
26f885c6d88d323a32ba5ae009177195e6a547ad
1 parent
7ac35260
发票 秒杀URl
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
26f885c
...
...
@@ -481,6 +481,12 @@ class IndexController extends AbstractAction
$this
->
setTitle
(
'发票信息'
);
$this
->
setNavHeader
(
'发票信息'
,
true
,
false
);
// 不显示右上角home按钮
$moreUrl
=
$this
->
server
(
'HTTP_REFERER'
,
'/cart/index/orderEnsure'
);
//取跳过来的url
//购物车订单进来,秒杀进来
if
(
strrpos
(
$moreUrl
,
'/cart/index/orderEnsure'
)
!==
false
||
strrpos
(
$moreUrl
,
'/cart/seckill'
)
!==
false
)
{
$this
->
setSession
(
'addressMore'
,
$moreUrl
);
}
$data
[
'addressMore'
]
=
$this
->
getSession
(
'addressMore'
);
$this
->
_view
->
display
(
'invoice-info'
,
$data
);
...
...
@@ -574,7 +580,7 @@ class IndexController extends AbstractAction
$this
->
setSession
(
'addressMore'
,
$moreUrl
);
}
$moreUrl
=
$this
->
getSession
(
'addressMore'
,
'/cart/index/orderEnsure'
);
$moreUrl
=
$this
->
getSession
(
'addressMore'
);
$this
->
setNavHeader
(
'选择地址'
,
$moreUrl
,
false
);
$this
->
_view
->
display
(
'select-address'
,
array
(
...
...
Please
register
or
login
to post a comment