|
@@ -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);
|