作者 lyh

gx

@@ -470,12 +470,12 @@ if (!function_exists('getFileUrl')) { @@ -470,12 +470,12 @@ if (!function_exists('getFileUrl')) {
470 if($info['is_cos'] == 1){ 470 if($info['is_cos'] == 1){
471 $cos = config('filesystems.disks.cos'); 471 $cos = config('filesystems.disks.cos');
472 $cosCdn = $cos['cdn']; 472 $cosCdn = $cos['cdn'];
473 - $url = $cosCdn.'/upload'.$info['path']; 473 + $url = $cosCdn.$info['path'];
474 }else{ 474 }else{
475 - $url = url('upload'.$info['path']); 475 + $url = url($info['path']);
476 } 476 }
477 }else{ 477 }else{
478 - $url = url($info['path']); 478 + $url = $hash;
479 } 479 }
480 } 480 }
481 return $url; 481 return $url;