作者 刘锟

update

@@ -79,7 +79,11 @@ class WebSettingAmpLogic extends BaseLogic @@ -79,7 +79,11 @@ class WebSettingAmpLogic extends BaseLogic
79 $this->param['company_image'] = Arr::a2s($this->param['company_image'] ?? []); 79 $this->param['company_image'] = Arr::a2s($this->param['company_image'] ?? []);
80 //icon处理 80 //icon处理
81 $this->param['web_icon'] = str_replace_url($this->param['web_icon'] ?? ''); 81 $this->param['web_icon'] = str_replace_url($this->param['web_icon'] ?? '');
82 - 82 + //其余参数默认值
  83 + $this->param['top_backgroundcolor'] = $this->param['top_backgroundcolor'] ?? '';
  84 + $this->param['company_email'] = $this->param['company_email'] ?? '';
  85 + $this->param['company_address'] = $this->param['company_address'] ?? '';
  86 + $this->param['company_tel'] = $this->param['company_tel'] ?? '';
83 $this->param['company_skype'] = $this->param['company_skype'] ?? ''; 87 $this->param['company_skype'] = $this->param['company_skype'] ?? '';
84 $this->param['company_whatsapp'] = $this->param['company_whatsapp'] ?? ''; 88 $this->param['company_whatsapp'] = $this->param['company_whatsapp'] ?? '';
85 89