|
...
|
...
|
@@ -467,6 +467,9 @@ if (!function_exists('getImageUrl')) { |
|
|
|
if((strpos($path,'https://')!== false) || (strpos($path,'http://') !== false)){
|
|
|
|
return $path;
|
|
|
|
}
|
|
|
|
if(substr($path,0,2) == '//'){
|
|
|
|
return 'https:'.$path;
|
|
|
|
}
|
|
|
|
if($location == 1){
|
|
|
|
$cos = config('filesystems.disks.cos');
|
|
|
|
$cosCdn = $cos['cdn'];
|
...
|
...
|
|