perf: 压缩下载改名打包下载

This commit is contained in:
weifashi
2023-11-14 11:39:14 +08:00
parent 6ffb458ffc
commit 4205b68b8c
7 changed files with 27 additions and 12 deletions

View File

@@ -74,6 +74,7 @@ class SystemController extends AbstractController
'image_compress',
'image_save_local',
'start_home',
'file_upload_limit',
])) {
unset($all[$key]);
}
@@ -114,6 +115,7 @@ class SystemController extends AbstractController
$setting['image_compress'] = $setting['image_compress'] ?: 'open';
$setting['image_save_local'] = $setting['image_save_local'] ?: 'open';
$setting['start_home'] = $setting['start_home'] ?: 'close';
$setting['file_upload_limit'] = $setting['file_upload_limit'] ?: '';
//
return Base::retSuccess('success', $setting ?: json_decode('{}'));
}