Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
Plain Diff
Browse Files
Authored by
毕凯
2015-12-16 17:19:52 +0800
Commit
b826af5ebfd4645c2fd66faebb753b4070da5cbb
2 parents
28232d8d
2c9c4e47
Merge branch 'feature/cart' of
http://git.dev.yoho.cn/web/yohobuy
into feature/cart
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
b826af5
...
...
@@ -590,7 +590,10 @@ class CartModel
$data
[
'name'
]
=
$productData
[
'product_name'
];
$data
[
'price'
]
=
$productData
[
'market_price'
];
$data
[
'salePrice'
]
=
$productData
[
'sales_price'
];
if
(
isset
(
$productData
[
'storage_sum'
]))
{
$data
[
'storage'
]
=
$productData
[
'storage_sum'
];
}
if
(
$num
!==
null
)
{
$data
[
'num'
]
=
$num
;
}
...
...
Please
register
or
login
to post a comment