Skip to content

Commit 3e0f798

Browse files
committed
【程序目录】优化云存储
1 parent af51403 commit 3e0f798

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crmeb/app/services/system/config/SystemStorageServices.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function getList(array $where)
4545
$where['access_key'] = $config['accessKey'];
4646
$list = $this->dao->getList($where, ['*'], $page, $limit, 'add_time');
4747
foreach ($list as &$item) {
48+
$item['cname'] = str_replace('https://', '', $item['domain']);
4849
$item['_add_time'] = date('Y-m-d H:i:s', $item['add_time']);
4950
$item['_update_time'] = date('Y-m-d H:i:s', $item['update_time']);
5051
$service = UploadService::init($item['type']);

0 commit comments

Comments
 (0)