소스 검색

青爻公众号

cqp 10 달 전
부모
커밋
22dbb8c614
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/Weixin/WeixinService.php

+ 1 - 1
app/Service/Weixin/WeixinService.php

@@ -249,7 +249,7 @@ class WeixinService extends Service
     {
         // 定义本地文件路径
         $name = md5($url) . '.jpeg';
-        $localFilePath = storage_path(self::wx_img . md5($url) . $name);
+        $localFilePath = storage_path(self::wx_img . $name);
 
         if(! file_exists($localFilePath)){
             $directoryPath = dirname($localFilePath);