正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -38,7 +38,7 @@ class DomainSettingLogic extends BaseLogic | @@ -38,7 +38,7 @@ class DomainSettingLogic extends BaseLogic | ||
| 38 | { | 38 | { |
| 39 | $domain_info = $this->model->read(['project_id' => $this->user['project_id']], ['seo_type', 'seo_domain', 'seo_ftp']); | 39 | $domain_info = $this->model->read(['project_id' => $this->user['project_id']], ['seo_type', 'seo_domain', 'seo_ftp']); |
| 40 | $domain = $domain_info['seo_domain'] ?: ''; | 40 | $domain = $domain_info['seo_domain'] ?: ''; |
| 41 | - $ftp = $domain_info['seo_ftp'] ? json_decode($domain['seo_ftp'], true) : null; | 41 | + $ftp = $domain_info['seo_ftp'] ? json_decode($domain['seo_ftp'], true) : ['url' => '', 'username' => '', 'password' => '', 'port' => '']; |
| 42 | $type = $domain_info['seo_type'] ?: 1; | 42 | $type = $domain_info['seo_type'] ?: 1; |
| 43 | $record = ''; | 43 | $record = ''; |
| 44 | 44 |
-
请 注册 或 登录 后发表评论