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
229584c7e1e3949278f2faa105cd7d0df30a73ea
1 parent
eac281e9
加价购和赠品页面添加cartType字段
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
229584c
...
...
@@ -149,7 +149,7 @@ class IndexController extends AbstractAction
$shoppingKey
=
Helpers
::
getShoppingKeyByCookie
();
$uid
=
$this
->
getUid
(
true
);
$cartType
=
$this
->
get
(
'cartType'
,
'ordinary'
);
$data
=
array
(
'giftPage'
=>
true
);
$data
=
array
(
'giftPage'
=>
true
,
'cartType'
=>
$cartType
);
$data
+=
CartModel
::
getCartData
(
$uid
,
$shoppingKey
,
$cartType
,
true
);
// 渲染模板
...
...
@@ -167,7 +167,7 @@ class IndexController extends AbstractAction
$shoppingKey
=
Helpers
::
getShoppingKeyByCookie
();
$uid
=
$this
->
getUid
(
true
);
$cartType
=
$this
->
get
(
'cartType'
,
'ordinary'
);
$data
=
array
(
'advanceBuyPage'
=>
true
);
$data
=
array
(
'advanceBuyPage'
=>
true
,
'cartType'
=>
$cartType
);
$data
+=
CartModel
::
getCartData
(
$uid
,
$shoppingKey
,
$cartType
,
false
,
true
);
// 渲染模板
...
...
Please
register
or
login
to post a comment