|
...
|
...
|
@@ -639,8 +639,9 @@ if (!function_exists('getImageUrl')) { |
|
|
|
return 'https:'.$path;
|
|
|
|
}
|
|
|
|
if($location == 0){
|
|
|
|
$cos = config('filesystems.disks.cos');
|
|
|
|
$cosCdn = ($storage_type == 0) ? $cos['cdn'] : $cos['cdn1'];
|
|
|
|
// $cos = config('filesystems.disks.cos');
|
|
|
|
// $cosCdn = ($storage_type == 0) ? $cos['cdn'] : $cos['cdn1'];
|
|
|
|
$cosCdn = 'https://file.globalso.com';//TODO::暂时使用
|
|
|
|
$url = $cosCdn.$path;
|
|
|
|
}else{
|
|
|
|
$s3 = config('filesystems.disks.s3');
|
...
|
...
|
|