Authored by hf

code review by fei.hong: do add guang info page more goods link params

@@ -146,6 +146,10 @@ class InfoController extends AbstractAction @@ -146,6 +146,10 @@ class InfoController extends AbstractAction
146 } 146 }
147 } 147 }
148 } 148 }
  149 + // 更多商品链接
  150 + elseif (isset($value['link'])) {
  151 + $build['link'] = $value['link']['data'][0]['url'];
  152 + }
149 153
150 $data['detail']['content'][] = $build; 154 $data['detail']['content'][] = $build;
151 } 155 }
@@ -313,6 +317,10 @@ class InfoController extends AbstractAction @@ -313,6 +317,10 @@ class InfoController extends AbstractAction
313 } 317 }
314 } 318 }
315 } 319 }
  320 + // 更多商品链接
  321 + elseif (isset($value['link'])) {
  322 + $build['link'] = $value['link']['data'][0]['url'];
  323 + }
316 324
317 $data['detail']['content'][] = $build; 325 $data['detail']['content'][] = $build;
318 } 326 }
@@ -445,6 +453,10 @@ class InfoController extends AbstractAction @@ -445,6 +453,10 @@ class InfoController extends AbstractAction
445 } 453 }
446 } 454 }
447 } 455 }
  456 + // 更多商品链接
  457 + elseif (isset($value['link'])) {
  458 + $build['link'] = $value['link']['data'][0]['url'];
  459 + }
448 460
449 // 内容详情 461 // 内容详情
450 if (array() !== $build) { 462 if (array() !== $build) {