From c18f9398109448cfd701d6ae94bc7c5b7dabb2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=96=E7=95=8C?= <642747453@qq.com> Date: Wed, 17 Aug 2022 16:21:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#10000=20=E5=9B=BE=E7=89=87=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Goods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Goods.php b/app/Models/Goods.php index 1493ecc..2f90534 100644 --- a/app/Models/Goods.php +++ b/app/Models/Goods.php @@ -25,7 +25,7 @@ class Goods extends Model public function getImgUrlAttribute($value) { - if (false !== strpos($value, 'ju8hn6/erp/shop')) { + if (0 === strpos($value, 'ju8hn6/erp/shop')) { $value = config('filesystems.disks.aliyun.url') . $value; }