|
...
|
...
|
@@ -470,12 +470,12 @@ if (!function_exists('getFileUrl')) { |
|
|
|
if($info['is_cos'] == 1){
|
|
|
|
$cos = config('filesystems.disks.cos');
|
|
|
|
$cosCdn = $cos['cdn'];
|
|
|
|
$url = $cosCdn.'/upload'.$info['path'];
|
|
|
|
$url = $cosCdn.$info['path'];
|
|
|
|
}else{
|
|
|
|
$url = url('upload'.$info['path']);
|
|
|
|
$url = url($info['path']);
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
$url = url($info['path']);
|
|
|
|
$url = $hash;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $url;
|
...
|
...
|
|