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
dcae1b679293a0f5dd14f980550220e137b0f35c
1 parent
680ca912
'YOHO币促销信息不显示问题解决'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Product/Item.php
yohobuy/www.yohobuy.com/application/models/Product/Item.php
View file @
dcae1b6
...
...
@@ -78,7 +78,13 @@ class ItemModel
$goodsInfo
[
'vipPrice'
]
=
self
::
getVipDataByProductBaseInfo
(
$baseInfo
,
$vipLevel
,
$uid
);
//促销活动banner
$goodsInfo
[
'activity'
]
=
self
::
getActivityDataByProductBaseInfo
(
$baseInfo
);
if
(
isset
(
$baseInfo
[
'productPriceBo'
][
'yohoCoinNum'
]))
{
array_push
(
$goodsInfo
[
'activity'
],
array
(
'type'
=>
'返YOHO币'
,
'des'
=>
'每件返 '
.
$baseInfo
[
'productPriceBo'
][
'yohoCoinNum'
]
.
'个 YOHO币'
)
);
}
// 上市期
if
(
isset
(
$baseInfo
[
'expectArrivalTime'
])
&&
!
empty
(
$baseInfo
[
'expectArrivalTime'
]))
{
$goodsInfo
[
'arrivalDate'
]
=
$baseInfo
[
'expectArrivalTime'
]
.
'月'
;
...
...
Please
register
or
login
to post a comment