Authored by hf

code review by fei.hong: do modify product detail add colors paramerter sizeName

@@ -247,6 +247,7 @@ class DetailModel @@ -247,6 +247,7 @@ class DetailModel
247 foreach ($colorList as $value) { 247 foreach ($colorList as $value) {
248 // 各个尺码的颜色,每行显示一个颜色的对应尺码 248 // 各个尺码的颜色,每行显示一个颜色的对应尺码
249 $sizeGroup[$i]['size'] = $sizeList[ $value['skcId'] ]; 249 $sizeGroup[$i]['size'] = $sizeList[ $value['skcId'] ];
  250 + $sizeGroup[$i]['colorId'] = $value['skcId'];
250 // 默认颜色 251 // 默认颜色
251 $colorGroup[0]['color'][] = $value; 252 $colorGroup[0]['color'][] = $value;
252 253