diff --git a/app/Services/Article/CacheTg.php b/app/Services/Article/CacheTg.php index 68f5c16e..95bb483a 100644 --- a/app/Services/Article/CacheTg.php +++ b/app/Services/Article/CacheTg.php @@ -174,7 +174,7 @@ final class CacheTg } $fileName = basename($filePath); - $fileName = uniqid('ffq_tg-'.$k.':', true).$fileName; // 加前缀并提高熵值 + $fileName = uniqid('ffq_tg-'.$k.'-'.$fileName.'-'.time().'-'); // 加前缀并提高熵值 file_put_contents($savePath . $fileName, $imageData); $sSavePath = $_ENV["APP_URL"].'/'.$savePath.$fileName;