Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
Lynnic
9 years ago
Commit
87a4d31a6a36cd09eca76cc9198b6926b1d72f00
2 parents
c4d34e54
40086d4e
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
87a4d31
...
...
@@ -203,6 +203,12 @@ class DetailModel
'goodsInstore'
=>
$baseInfo
[
'storage'
],
);
// 是否收藏
$result
[
'isCollect'
]
=
false
;
if
(
isset
(
$baseInfo
[
'isCollect'
])
&&
$baseInfo
[
'isCollect'
]
===
'Y'
)
{
$result
[
'isCollect'
]
=
true
;
}
// 底部简介的URL链接
$result
[
'introUrl'
]
=
Helpers
::
url
(
'/product/intro_'
.
$baseInfo
[
'erpProductId'
]
.
'/'
.
$baseInfo
[
'cnAlphabet'
]
.
'.html'
);
$result
[
'id'
]
=
$productId
;
...
...
Please
register
or
login
to post a comment