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
9 years ago
Commit
bb6d57314474a7b18f3438620be83ec40f7d4ac8
1 parent
258b5c25
code review by hf: do remove from cart count to int
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
bb6d573
...
...
@@ -168,7 +168,7 @@ class CartModel
$result
=
array
(
'code'
=>
400
,
'message'
=>
'出错啦~'
);
// 处理sku
$sku_list
=
json_encode
(
array
(
$sku
=>
$count
));
$sku_list
=
json_encode
(
array
(
$sku
=>
intval
(
$count
)
));
$remove
=
CartData
::
removeFromCart
(
$uid
,
$sku_list
,
$shoppingKey
);
if
(
$remove
&&
isset
(
$remove
[
'code'
]))
{
...
...
Please
register
or
login
to post a comment