From 0b9483266b0889d2e60ae465ad964bf817c95d19 Mon Sep 17 00:00:00 2001 From: Gosowong <1329847115@qq.com> Date: Thu, 8 Jun 2023 15:08:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9cdn=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/config/SystemStorageServices.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crmeb/app/services/system/config/SystemStorageServices.php b/crmeb/app/services/system/config/SystemStorageServices.php index 20da7bb27..97f22d1be 100644 --- a/crmeb/app/services/system/config/SystemStorageServices.php +++ b/crmeb/app/services/system/config/SystemStorageServices.php @@ -445,10 +445,10 @@ class SystemStorageServices extends BaseServices */ public function getUpdateDomainForm(int $id) { - $domain = $this->dao->value(['id' => $id], 'domain'); + $storage = $this->dao->get(['id' => $id], ['domain', 'cdn']); $rule = [ - FormBuilder::input('domain', '空间域名', $domain), - FormBuilder::input('cdn', 'cdn域名', $domain), + FormBuilder::input('domain', '空间域名', $storage['domain']), + FormBuilder::input('cdn', 'cdn域名', $storage['cnd']), ]; return create_form('修改空间域名', $rule, '/system/config/storage/domain/' . $id); }