|
...
|
...
|
@@ -50,10 +50,13 @@ class WebSettingAmpLogic extends BaseLogic |
|
|
|
//log图处理
|
|
|
|
$this->param['top_logo'] = str_replace_url($this->param['top_logo'] ?? '');
|
|
|
|
//banner处理
|
|
|
|
foreach ($this->param['index_banner'] ?? [] as &$v) {
|
|
|
|
$v = str_replace_url($v);
|
|
|
|
$index_banner = [];
|
|
|
|
if (isset($this->param['index_banner']) && $this->param['index_banner']) {
|
|
|
|
foreach ($this->param['index_banner'] as $v) {
|
|
|
|
$index_banner[] = str_replace_url($v);
|
|
|
|
}
|
|
|
|
$this->param['index_banner'] = Arr::a2s($this->param['index_banner'] ?? []);
|
|
|
|
}
|
|
|
|
$this->param['index_banner'] = Arr::a2s($index_banner);
|
|
|
|
|
|
|
|
$info = $this->model->read(['project_id' => $this->user['project_id']]);
|
|
|
|
if ($info === false) {
|
...
|
...
|
|