Browse Source

图片路径

lizhen_gitee 9 months ago
parent
commit
fff264af39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common.php

+ 1 - 1
application/common.php

@@ -543,7 +543,7 @@ function localpath_to_netpath($path)
     } elseif (strrpos($path, 'http') !== false) {
         return $path;
     } else {
-        return config('site.domain_cdnurl') . str_replace("\\", "/", $path);
+        return config('upload.cdnurl') . str_replace("\\", "/", $path);
     }
 }