作者 刘锟

amp站点图片添加宽高属性

@@ -28,7 +28,9 @@ class WebSettingAmpLogic extends BaseLogic @@ -28,7 +28,9 @@ class WebSettingAmpLogic extends BaseLogic
28 return $this->success(); 28 return $this->success();
29 } 29 }
30 //log图处理 30 //log图处理
  31 + if(!empty($info['top_logo'])){
31 $info['top_logo']['url'] = getImageUrl($info['top_logo']['url'], $this->user['storage_type'], $this->user['project_location']); 32 $info['top_logo']['url'] = getImageUrl($info['top_logo']['url'], $this->user['storage_type'], $this->user['project_location']);
  33 + }
32 //banner处理 34 //banner处理
33 if (!empty($info['index_banner'])) { 35 if (!empty($info['index_banner'])) {
34 foreach ($info['index_banner'] as &$v) { 36 foreach ($info['index_banner'] as &$v) {