Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Showing
1 changed file
with
6 additions
and
0 deletions
@@ -203,6 +203,12 @@ class DetailModel | @@ -203,6 +203,12 @@ class DetailModel | ||
203 | 'goodsInstore' => $baseInfo['storage'], | 203 | 'goodsInstore' => $baseInfo['storage'], |
204 | ); | 204 | ); |
205 | 205 | ||
206 | + // 是否收藏 | ||
207 | + $result['isCollect'] = false; | ||
208 | + if (isset($baseInfo['isCollect']) && $baseInfo['isCollect'] === 'Y') { | ||
209 | + $result['isCollect'] = true; | ||
210 | + } | ||
211 | + | ||
206 | // 底部简介的URL链接 | 212 | // 底部简介的URL链接 |
207 | $result['introUrl'] = Helpers::url('/product/intro_' . $baseInfo['erpProductId'] . '/' . $baseInfo['cnAlphabet'] . '.html'); | 213 | $result['introUrl'] = Helpers::url('/product/intro_' . $baseInfo['erpProductId'] . '/' . $baseInfo['cnAlphabet'] . '.html'); |
208 | $result['id'] = $productId; | 214 | $result['id'] = $productId; |
-
Please register or login to post a comment