From 6c6b3af2100cbd59975b8407c26248b9a9974719 Mon Sep 17 00:00:00 2001 From: baji Date: Sun, 9 Mar 2025 22:43:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/common.php b/app/common.php index fbe6fdc..00613b7 100755 --- a/app/common.php +++ b/app/common.php @@ -89,9 +89,11 @@ if (!function_exists('imageUrl')) { $pre = request()->domain(); if (strpos($url, 'http') !== false) { $path = $url; - } else if (strpos($pre, '192.168') !== false) {#测试环境 - $path = $pre . "ceshi/public/" . $url; - } else if ($url === '0') { + } + // else if (strpos($pre, '192.168') !== false) {#测试环境 + // $path = $pre . "ceshi/public/" . $url; + // } + else if ($url === '0') { $path = $pre; } else { $path = $pre . $url;