no message

This commit is contained in:
hellcat 2026-01-22 19:50:34 +08:00
parent 463fa66117
commit 4ae65ff402

View File

@ -168,6 +168,7 @@ final class Schema
$sFullSavePath = $sUploadDir . $sTmp;
$sFullSavePathUrl = $sUploadPath . $sTmp;
$oImgMain->save($sFullSavePath);
chmod($sFullSavePath, 0777);
$aSavedPath['full'] = $sFullSavePathUrl;
// --- 3. 局部裁剪与归档:[后缀 => 距离底部的偏移] ---
@ -199,6 +200,8 @@ final class Schema
->scale(height: $iTargetHeight)
->save($sCurrentPath);
chmod($sCurrentPath, 0777);
// 路径入库
$aSavedPath[$sSuffix] = $sCurrentPathUrl;