From 3b4eb2c222617fbe8a0da05b64a2f04c8662a378 Mon Sep 17 00:00:00 2001 From: Ying Date: Thu, 1 Sep 2022 11:52:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8E=B7=E5=8F=96=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/library/ParseData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/library/ParseData.php b/app/common/library/ParseData.php index 5172ac1..da3660b 100644 --- a/app/common/library/ParseData.php +++ b/app/common/library/ParseData.php @@ -164,11 +164,11 @@ class ParseData * @param string $image 图片地址 * @param bool $bool 链接OR替换 * @return string + * @throws InvalidArgumentException */ protected static function changeImages(string $image, bool $bool = true): string { $prefix = cdn_Prefix(); - var_dump($prefix); if (!empty($prefix) && $image) { if (!strpos($image, 'data:image')) { return $bool ? $prefix . $image : str_replace($prefix, '', $image);