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
hf
2015-12-22 02:35:07 +0800
Commit
b31ddaff9d8eba43a42132ead0881493a0f96014
1 parent
27177aa5
code review by hf: fixes some bugs to merge code
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
b31ddaf
...
...
@@ -63,10 +63,6 @@ class CartModel
// 调用接口获取购物车的数据
$cartData
=
CartData
::
cartData
(
$uid
,
$shoppingKey
);
// 当购物车为空时,用户也已经登录过, 再取一次
if
(
empty
(
$cartData
[
'data'
])
&&
is_numeric
(
$uid
)
&&
!
empty
(
$shoppingKey
))
{
$cartData
=
CartData
::
cartData
(
0
,
$shoppingKey
);
}
// 处理普通购物车和预售购物车的数据
do
{
...
...
Please
register
or
login
to post a comment