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;