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
2016-01-20 18:58:57 +0800
Commit
af8d0874a12962c12a649defb12d95656440e4e3
1 parent
08c08a5c
修复storage错写为storage_number导致的加价购和赠品添加错误的bug
Code Review By Rock Zhang
Show 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 @
af8d087
...
...
@@ -680,7 +680,7 @@ class CartModel
$sizeList
[
$val
[
'product_skc'
]][]
=
$oneSize
;
// 所有尺码列表,赋值用于前端展示默认尺码的时候 判断出没有库存则显示灰色
$allSizeList
[
$sizeName
]
=
empty
(
$allSizeList
[
$sizeName
][
'storage
_number
'
])
$allSizeList
[
$sizeName
]
=
empty
(
$allSizeList
[
$sizeName
][
'storage'
])
?
array
(
'storage'
=>
$one
[
'storage_number'
],
'id'
=>
$one
[
'size_id'
])
:
$allSizeList
[
$sizeName
];
...
...
Please
register
or
login
to post a comment