Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
281d633206d8b72c69f0111da859d34800423ecb
1 parent
5f18cafd
修复限购商品进入结算页中选择地址再返回到结算页时逻辑错误的bug
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
281d633
...
...
@@ -304,9 +304,6 @@ class IndexController extends AbstractAction
$sku
=
$this
->
get
(
'sku'
,
''
);
$skn
=
$this
->
get
(
'skn'
,
''
);
$buyNumber
=
$this
->
get
(
'buy_number'
,
1
);
if
(
$limitProductCode
)
{
$returnUrl
=
$this
->
server
(
'HTTP_REFERER'
,
$returnUrl
);
}
// 购物车商品为空跳转到购物车页面
$uid
=
$this
->
getUid
(
true
);
...
...
@@ -322,6 +319,11 @@ class IndexController extends AbstractAction
return
;
}
// 限购商品时更换返回按钮地址
if
(
isset
(
$order
[
'isLimit'
]))
{
$returnUrl
=
$this
->
server
(
'HTTP_REFERER'
,
$returnUrl
);
}
$data
=
array
(
'orderEnsurePage'
=>
true
,
'isOrdinaryCart'
=>
(
$cartType
!==
'advance'
),
...
...
Please
register
or
login
to post a comment