This commit is contained in:
Default
2025-04-15 21:16:14 +08:00
parent 694d5fd14c
commit d19ea97481
47 changed files with 907 additions and 769 deletions

View File

@@ -61,6 +61,12 @@ class StorageCore
$this->Filesystem->writeStream($strPath, $Resource);
}
public function put($strKey, $strContent, array $arrConfig = [])
{
$strContent = zstd_compress($strContent);
return $this->Filesystem->put($strKey, $strContent, $arrConfig);
}
public function write($strKey, $strContent, array $arrConfig = [])
{
$strContent = zstd_compress($strContent);