From 3e0f79802441fd8960a8a534b2705df1d738a680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Thu, 16 Feb 2023 11:20:30 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E4=BC=98=E5=8C=96=E4=BA=91=E5=AD=98=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/config/SystemStorageServices.php | 1 + 1 file changed, 1 insertion(+) diff --git a/crmeb/app/services/system/config/SystemStorageServices.php b/crmeb/app/services/system/config/SystemStorageServices.php index 22285532..92eb29e8 100644 --- a/crmeb/app/services/system/config/SystemStorageServices.php +++ b/crmeb/app/services/system/config/SystemStorageServices.php @@ -45,6 +45,7 @@ class SystemStorageServices extends BaseServices $where['access_key'] = $config['accessKey']; $list = $this->dao->getList($where, ['*'], $page, $limit, 'add_time'); foreach ($list as &$item) { + $item['cname'] = str_replace('https://', '', $item['domain']); $item['_add_time'] = date('Y-m-d H:i:s', $item['add_time']); $item['_update_time'] = date('Y-m-d H:i:s', $item['update_time']); $service = UploadService::init($item['type']);