update
This commit is contained in:
@ -56,7 +56,7 @@ class ArticleHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 本地保存路径
|
// 本地保存路径
|
||||||
$localPath = $savePath . $imageName;
|
$localPath = $savePath . '/' . $imageName;
|
||||||
|
|
||||||
// 使用带 Cookie 的 cURL 下载图片
|
// 使用带 Cookie 的 cURL 下载图片
|
||||||
$result = self::downloadImageWithCookie($imageUrl, $localPath);
|
$result = self::downloadImageWithCookie($imageUrl, $localPath);
|
||||||
|
Reference in New Issue
Block a user