|
...
|
...
|
@@ -29,7 +29,7 @@ class WebSettingAmpLogic extends BaseLogic |
|
|
|
}
|
|
|
|
//log图处理
|
|
|
|
$info['top_logo'] = Arr::s2a($info['top_logo']);
|
|
|
|
if(!empty($info['top_logo'])){
|
|
|
|
if (!empty($info['top_logo'])) {
|
|
|
|
$info['top_logo']['url'] = getImageUrl($info['top_logo']['url'], $this->user['storage_type'], $this->user['project_location']);
|
|
|
|
}
|
|
|
|
//banner处理
|
|
...
|
...
|
@@ -41,7 +41,7 @@ class WebSettingAmpLogic extends BaseLogic |
|
|
|
}
|
|
|
|
//公司主图处理
|
|
|
|
$info['company_image'] = Arr::s2a($info['company_image']);
|
|
|
|
if(!empty($info['company_image'])){
|
|
|
|
if (!empty($info['company_image'])) {
|
|
|
|
$info['company_image']['url'] = getImageUrl($info['company_image']['url'], $this->user['storage_type'], $this->user['project_location']);
|
|
|
|
}
|
|
|
|
//icon处理
|
|
...
|
...
|
@@ -78,7 +78,7 @@ class WebSettingAmpLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$this->param['company_image'] = Arr::a2s($this->param['company_image'] ?? []);
|
|
|
|
//icon处理
|
|
|
|
$this->param['web_icon'] = str_replace_url($this->param['web_icon']);
|
|
|
|
$this->param['web_icon'] = str_replace_url($this->param['web_icon'] ?? '');
|
|
|
|
|
|
|
|
$info = $this->model->read(['project_id' => $this->user['project_id']]);
|
|
|
|
if ($info === false) {
|
...
|
...
|
|