|
@@ -69,16 +69,6 @@ class DetailModel |
|
@@ -69,16 +69,6 @@ class DetailModel |
69
|
}
|
69
|
}
|
70
|
}
|
70
|
}
|
71
|
|
71
|
|
72
|
- // 新品标签
|
|
|
73
|
- if (isset($baseInfo['isNew']) && $baseInfo['isNew'] === 'Y') {
|
|
|
74
|
- $result['tags']['is_new'] = true;
|
|
|
75
|
- }
|
|
|
76
|
-
|
|
|
77
|
- // NEW和SALE只显示一个
|
|
|
78
|
- if (isset($result['tags']['is_new']) && isset($result['tags']['is_discount'])) {
|
|
|
79
|
- unset($result['tags']['is_discount']);
|
|
|
80
|
- }
|
|
|
81
|
-
|
|
|
82
|
// 商品价格
|
72
|
// 商品价格
|
83
|
if (isset($baseInfo['productPriceBo'])) {
|
73
|
if (isset($baseInfo['productPriceBo'])) {
|
84
|
$result['goodsPrice'] = array();
|
74
|
$result['goodsPrice'] = array();
|
|
@@ -141,7 +131,7 @@ class DetailModel |
|
@@ -141,7 +131,7 @@ class DetailModel |
141
|
$build = array();
|
131
|
$build = array();
|
142
|
foreach ($baseInfo['commentBoWrapper']['commentBoList'] as $value) {
|
132
|
foreach ($baseInfo['commentBoWrapper']['commentBoList'] as $value) {
|
143
|
$build['userName'] = $value['nickName'];
|
133
|
$build['userName'] = $value['nickName'];
|
144
|
- $build['desc'] = $value['colorName'] . $value['sizeName'];
|
134
|
+ $build['desc'] = $value['colorName'] . '/' . $value['sizeName'];
|
145
|
$build['content'] = $value['content'];
|
135
|
$build['content'] = $value['content'];
|
146
|
$build['time'] = $value['createTime'];
|
136
|
$build['time'] = $value['createTime'];
|
147
|
$result['feedbacks']['comments'][] = $build;
|
137
|
$result['feedbacks']['comments'][] = $build;
|