Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
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
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
2016-01-19 15:44:51 +0800
Commit
08aa16cf35b9e29eaaa5c737a6ed12d859954f2b
1 parent
75177909
当skc商品的status为0,即skc下架时就跳过该商品
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
08aa16c
...
...
@@ -175,6 +175,11 @@ class DetailModel
$colorStorageNum
=
0
;
$totalStorageNum
=
0
;
// 总库存数
foreach
(
$baseInfo
[
'goodsList'
]
as
$value
)
{
// 如果status为0,即skc下架时就跳过该商品
if
(
$value
[
'status'
]
===
0
)
{
continue
;
}
$colorStorageNum
=
0
;
// 商品分组
...
...
Please
register
or
login
to post a comment