作者 lyh

gx

@@ -430,7 +430,7 @@ if (!function_exists('getImageUrl')) { @@ -430,7 +430,7 @@ if (!function_exists('getImageUrl')) {
430 if(!empty($info)){ 430 if(!empty($info)){
431 if($info['is_cos'] == 1){ 431 if($info['is_cos'] == 1){
432 $cos = config('filesystems.disks.cos'); 432 $cos = config('filesystems.disks.cos');
433 - $cosCdn = $cos['COS_CDN']; 433 + $cosCdn = $cos['cdn'];
434 $url = $cosCdn.$info['path']; 434 $url = $cosCdn.$info['path'];
435 }else{ 435 }else{
436 $url = url('a/image/'.$info['hash']); 436 $url = url('a/image/'.$info['hash']);