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
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
b99171e306ab3780899775dc671b09031c022fba
2 parents
3ae35a7a
542e7537
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into fix/issue
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
library/Plugin/Helpers.php
library/Plugin/Helpers.php
View file @
b99171e
...
...
@@ -583,8 +583,11 @@ class Helpers
$oneGoods
[
'isVipPrice'
]
=
$value
[
'sales_price'
]
!==
$value
[
'last_vip_price'
];
$oneGoods
[
'count'
]
=
$value
[
'buy_number'
];
if
(
$isValid
)
{
// 库存不足
if
(
$isValid
)
{
// 库存不足
$oneGoods
[
'lowStocks'
]
=
(
$value
[
'buy_number'
]
>
$value
[
'storage_number'
]);
}
else
{
// 失效商品
$oneGoods
[
'inValid'
]
=
true
;
}
//gift=>是否赠品,advanceBuy=>是否加价购,soldOut=>失效商品;
...
...
Please
register
or
login
to post a comment