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
郭成尧
9 years ago
Commit
f640a446d93553134cd45e74560a303ba424faf5
1 parent
dc8f8987
'yoho币为0时不显示互动信息'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
web-static/img/sprite.product.png
yohobuy/www.yohobuy.com/application/models/Product/Item.php
web-static/img/sprite.product.png
View file @
f640a44
759 Bytes
|
W:
|
H:
13.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
yohobuy/www.yohobuy.com/application/models/Product/Item.php
View file @
f640a44
...
...
@@ -78,8 +78,8 @@ class ItemModel
$goodsInfo
[
'vipPrice'
]
=
self
::
getVipDataByProductBaseInfo
(
$baseInfo
,
$vipLevel
,
$uid
);
//促销活动banner
$goodsInfo
[
'activity'
]
=
self
::
getActivityDataByProductBaseInfo
(
$baseInfo
);
if
(
isset
(
$baseInfo
[
'productPriceBo'
][
'yohoCoinNum'
]))
{
if
(
isset
(
$baseInfo
[
'productPriceBo'
][
'yohoCoinNum'
])
&&
$baseInfo
[
'productPriceBo'
][
'yohoCoinNum'
]
!==
0
)
{
array_push
(
$goodsInfo
[
'activity'
],
array
(
'type'
=>
'返YOHO币'
,
'des'
=>
'每件返 '
.
$baseInfo
[
'productPriceBo'
][
'yohoCoinNum'
]
.
'个 YOHO币'
)
);
...
...
Please
register
or
login
to post a comment